home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-09-09 | 354.1 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Sep 9 03:05:19 1994, modified Fri Sep 9 09:03:43 1994, creator 'HLX2', type 'ONLN', 357105 bytes "Users & Groups Programming" , at 0x57371 5297 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1a 55 73 65 72 73 20 | 26 20 47 72 6f 75 70 73 |..Users |& Groups|
|00000010| 20 50 72 6f 67 72 61 6d | 6d 69 6e 67 00 00 00 00 | Program|ming....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 05 72 f1 00 | 00 14 b1 aa 95 b9 af aa |.....r..|........|
|00000060| 96 0d af 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bb 8c 00 00 |........|........|
|00000080| 09 4b 09 41 70 70 6c 65 | 53 68 61 72 65 20 33 2e |.K.Apple|Share 3.|
|00000090| 30 20 44 65 76 65 6c 6f | 70 65 72 d5 73 20 4b 69 |0 Develo|per.s Ki|
|000000a0| 74 0d 55 73 65 72 73 20 | 61 6e 64 20 47 72 6f 75 |t.Users |and Grou|
|000000b0| 70 73 20 50 72 6f 67 72 | 61 6d 6d 69 6e 67 20 49 |ps Progr|amming I|
|000000c0| 6e 74 65 72 66 61 63 65 | 0d 56 65 72 73 69 6f 6e |nterface|.Version|
|000000d0| 20 31 2e 30 0d 0d f0 20 | 09 41 70 70 6c 65 20 43 | 1.0... |.Apple C|
|000000e0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 0d 54 |omputer,| Inc...T|
|000000f0| 68 69 73 20 6d 61 6e 75 | 61 6c 20 69 73 20 63 6f |his manu|al is co|
|00000100| 70 79 72 69 67 68 74 65 | 64 20 62 79 20 41 70 70 |pyrighte|d by App|
|00000110| 6c 65 20 6f 72 20 62 79 | 20 41 70 70 6c 65 d5 73 |le or by| Apple.s|
|00000120| 20 73 75 70 70 6c 69 65 | 72 73 2c 20 77 69 74 68 | supplie|rs, with|
|00000130| 20 61 6c 6c 20 72 69 67 | 68 74 73 20 72 65 73 65 | all rig|hts rese|
|00000140| 72 76 65 64 2e 20 55 6e | 64 65 72 20 74 68 65 20 |rved. Un|der the |
|00000150| 63 6f 70 79 72 69 67 68 | 74 20 6c 61 77 73 2c 20 |copyrigh|t laws, |
|00000160| 74 68 69 73 20 6d 61 6e | 75 61 6c 20 6d 61 79 20 |this man|ual may |
|00000170| 6e 6f 74 20 62 65 20 63 | 6f 70 69 65 64 2c 20 69 |not be c|opied, i|
|00000180| 6e 20 77 68 6f 6c 65 20 | 6f 72 20 69 6e 20 70 61 |n whole |or in pa|
|00000190| 72 74 2c 20 77 69 74 68 | 6f 75 74 20 74 68 65 20 |rt, with|out the |
|000001a0| 77 72 69 74 74 65 6e 20 | 63 6f 6e 73 65 6e 74 20 |written |consent |
|000001b0| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|000001c0| 72 2c 20 49 6e 63 2e 20 | 54 68 69 73 20 65 78 63 |r, Inc. |This exc|
|000001d0| 65 70 74 69 6f 6e 20 64 | 6f 65 73 20 6e 6f 74 20 |eption d|oes not |
|000001e0| 61 6c 6c 6f 77 20 63 6f | 70 69 65 73 20 74 6f 20 |allow co|pies to |
|000001f0| 62 65 20 6d 61 64 65 20 | 66 6f 72 20 6f 74 68 65 |be made |for othe|
|00000200| 72 73 2c 20 77 68 65 74 | 68 65 72 20 6f 72 20 6e |rs, whet|her or n|
|00000210| 6f 74 20 73 6f 6c 64 2c | 20 62 75 74 20 61 6c 6c |ot sold,| but all|
|00000220| 20 6f 66 20 74 68 65 20 | 6d 61 74 65 72 69 61 6c | of the |material|
|00000230| 20 70 75 72 63 68 61 73 | 65 64 20 6d 61 79 20 62 | purchas|ed may b|
|00000240| 65 20 73 6f 6c 64 2c 20 | 67 69 76 65 6e 2c 20 6f |e sold, |given, o|
|00000250| 72 20 6c 65 6e 74 20 74 | 6f 20 61 6e 6f 74 68 65 |r lent t|o anothe|
|00000260| 72 20 70 65 72 73 6f 6e | 2e 20 55 6e 64 65 72 20 |r person|. Under |
|00000270| 74 68 65 20 6c 61 77 2c | 20 63 6f 70 79 69 6e 67 |the law,| copying|
|00000280| 20 69 6e 63 6c 75 64 65 | 73 20 74 72 61 6e 73 6c | include|s transl|
|00000290| 61 74 69 6e 67 20 69 6e | 74 6f 20 61 6e 6f 74 68 |ating in|to anoth|
|000002a0| 65 72 20 6c 61 6e 67 75 | 61 67 65 2e 20 0d 54 68 |er langu|age. .Th|
|000002b0| 65 20 41 70 70 6c 65 20 | 6c 6f 67 6f 20 69 73 20 |e Apple |logo is |
|000002c0| 61 20 72 65 67 69 73 74 | 65 72 65 64 20 74 72 61 |a regist|ered tra|
|000002d0| 64 65 6d 61 72 6b 20 6f | 66 20 41 70 70 6c 65 20 |demark o|f Apple |
|000002e0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 20 55 |Computer|, Inc. U|
|000002f0| 73 65 20 6f 66 20 74 68 | 65 20 d2 6b 65 79 62 6f |se of th|e .keybo|
|00000300| 61 72 64 d3 20 41 70 70 | 6c 65 20 6c 6f 67 6f 20 |ard. App|le logo |
|00000310| 28 4f 70 74 69 6f 6e 2d | 53 68 69 66 74 2d 4b 29 |(Option-|Shift-K)|
|00000320| 20 66 6f 72 20 63 6f 6d | 6d 65 72 63 69 61 6c 20 | for com|mercial |
|00000330| 70 75 72 70 6f 73 65 73 | 20 77 69 74 68 6f 75 74 |purposes| without|
|00000340| 20 74 68 65 20 70 72 69 | 6f 72 20 77 72 69 74 74 | the pri|or writt|
|00000350| 65 6e 20 63 6f 6e 73 65 | 6e 74 20 6f 66 20 41 70 |en conse|nt of Ap|
|00000360| 70 6c 65 20 6d 61 79 20 | 63 6f 6e 73 74 69 74 75 |ple may |constitu|
|00000370| 74 65 20 74 72 61 64 65 | 6d 61 72 6b 20 69 6e 66 |te trade|mark inf|
|00000380| 72 69 6e 67 65 6d 65 6e | 74 20 61 6e 64 20 75 6e |ringemen|t and un|
|00000390| 66 61 69 72 20 63 6f 6d | 70 65 74 69 74 69 6f 6e |fair com|petition|
|000003a0| 20 69 6e 20 76 69 6f 6c | 61 74 69 6f 6e 20 6f 66 | in viol|ation of|
|000003b0| 20 66 65 64 65 72 61 6c | 20 61 6e 64 20 73 74 61 | federal| and sta|
|000003c0| 74 65 20 6c 61 77 73 2e | 0d a9 20 41 70 70 6c 65 |te laws.|.. Apple|
|000003d0| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 2c | Compute|r, Inc.,|
|000003e0| 20 31 39 39 32 0d 32 30 | 35 32 35 20 4d 61 72 69 | 1992.20|525 Mari|
|000003f0| 61 6e 69 20 41 76 65 6e | 75 65 20 0d 43 75 70 65 |ani Aven|ue .Cupe|
|00000400| 72 74 69 6e 6f 2c 20 43 | 41 20 20 39 35 30 31 34 |rtino, C|A 95014|
|00000410| 2d 36 32 39 39 0d 28 34 | 30 38 29 20 39 39 36 2d |-6299.(4|08) 996-|
|00000420| 31 30 31 30 0d 41 70 70 | 6c 65 2c 20 74 68 65 20 |1010.App|le, the |
|00000430| 41 70 70 6c 65 20 6c 6f | 67 6f 2c 20 41 50 44 41 |Apple lo|go, APDA|
|00000440| 2c 20 41 70 70 6c 65 53 | 68 61 72 65 2c 20 41 70 |, AppleS|hare, Ap|
|00000450| 70 6c 65 54 61 6c 6b 2c | 20 41 2f 55 58 2c 20 4c |pleTalk,| A/UX, L|
|00000460| 61 73 65 72 57 72 69 74 | 65 72 2c 20 61 6e 64 20 |aserWrit|er, and |
|00000470| 4d 61 63 69 6e 74 6f 73 | 68 20 61 72 65 20 74 72 |Macintos|h are tr|
|00000480| 61 64 65 6d 61 72 6b 73 | 20 6f 66 20 41 70 70 6c |ademarks| of Appl|
|00000490| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|000004a0| 2c 20 72 65 67 69 73 74 | 65 72 65 64 20 69 6e 20 |, regist|ered in |
|000004b0| 74 68 65 20 55 6e 69 74 | 65 64 20 53 74 61 74 65 |the Unit|ed State|
|000004c0| 73 20 61 6e 64 20 6f 74 | 68 65 72 20 63 6f 75 6e |s and ot|her coun|
|000004d0| 74 72 69 65 73 2e 20 0d | 46 69 6e 64 65 72 20 61 |tries. .|Finder a|
|000004e0| 6e 64 20 53 79 73 74 65 | 6d 20 37 20 61 72 65 20 |nd Syste|m 7 are |
|000004f0| 74 72 61 64 65 6d 61 72 | 6b 73 20 6f 66 20 41 70 |trademar|ks of Ap|
|00000500| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00000510| 63 2e 0d 41 64 6f 62 65 | 2c 20 41 64 6f 62 65 20 |c..Adobe|, Adobe |
|00000520| 49 6c 6c 75 73 74 72 61 | 74 6f 72 2c 20 61 6e 64 |Illustra|tor, and|
|00000530| 20 50 6f 73 74 53 63 72 | 69 70 74 20 61 72 65 20 | PostScr|ipt are |
|00000540| 74 72 61 64 65 6d 61 72 | 6b 73 20 6f 66 20 41 64 |trademar|ks of Ad|
|00000550| 6f 62 65 20 53 79 73 74 | 65 6d 73 20 49 6e 63 6f |obe Syst|ems Inco|
|00000560| 72 70 6f 72 61 74 65 64 | 2c 20 72 65 67 69 73 74 |rporated|, regist|
|00000570| 65 72 65 64 20 69 6e 20 | 74 68 65 20 55 6e 69 74 |ered in |the Unit|
|00000580| 65 64 20 53 74 61 74 65 | 73 2e 20 0d 49 54 43 20 |ed State|s. .ITC |
|00000590| 5a 61 70 66 20 44 69 6e | 67 62 61 74 73 20 69 73 |Zapf Din|gbats is|
|000005a0| 20 61 20 72 65 67 69 73 | 74 65 72 65 64 20 74 72 | a regis|tered tr|
|000005b0| 61 64 65 6d 61 72 6b 20 | 6f 66 20 49 6e 74 65 72 |ademark |of Inter|
|000005c0| 6e 61 74 69 6f 6e 61 6c | 20 54 79 70 65 66 61 63 |national| Typefac|
|000005d0| 65 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0d 4d |e Corpor|ation..M|
|000005e0| 69 63 72 6f 73 6f 66 74 | 20 69 73 20 61 20 72 65 |icrosoft| is a re|
|000005f0| 67 69 73 74 65 72 65 64 | 20 74 72 61 64 65 6d 61 |gistered| tradema|
|00000600| 72 6b 20 6f 66 20 4d 69 | 63 72 6f 73 6f 66 74 20 |rk of Mi|crosoft |
|00000610| 43 6f 72 70 6f 72 61 74 | 69 6f 6e 2e 0d 4e 75 42 |Corporat|ion..NuB|
|00000620| 75 73 20 69 73 20 61 20 | 74 72 61 64 65 6d 61 72 |us is a |trademar|
|00000630| 6b 20 6f 66 20 54 65 78 | 61 73 20 49 6e 73 74 72 |k of Tex|as Instr|
|00000640| 75 6d 65 6e 74 73 2e 0d | 51 75 61 72 6b 58 50 72 |uments..|QuarkXPr|
|00000650| 65 73 73 20 69 73 20 61 | 20 72 65 67 69 73 74 65 |ess is a| registe|
|00000660| 72 65 64 20 74 72 61 64 | 65 6d 61 72 6b 20 6f 66 |red trad|emark of|
|00000670| 20 51 75 61 72 6b 2c 20 | 49 6e 63 2e 0d 56 61 72 | Quark, |Inc..Var|
|00000680| 69 74 79 70 65 72 20 69 | 73 20 61 20 72 65 67 69 |ityper i|s a regi|
|00000690| 73 74 65 72 65 64 20 74 | 72 61 64 65 6d 61 72 6b |stered t|rademark|
|000006a0| 2c 20 61 6e 64 20 56 54 | 36 30 30 20 69 73 20 61 |, and VT|600 is a|
|000006b0| 20 74 72 61 64 65 6d 61 | 72 6b 2c 20 6f 66 20 41 | tradema|rk, of A|
|000006c0| 4d 20 49 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 2c |M Intern|ational,|
|000006d0| 20 49 6e 63 2e 20 0d 53 | 69 6d 75 6c 74 61 6e 65 | Inc. .S|imultane|
|000006e0| 6f 75 73 6c 79 20 70 75 | 62 6c 69 73 68 65 64 20 |ously pu|blished |
|000006f0| 69 6e 20 74 68 65 20 55 | 6e 69 74 65 64 20 53 74 |in the U|nited St|
|00000700| 61 74 65 73 20 61 6e 64 | 20 43 61 6e 61 64 61 2e |ates and| Canada.|
|00000710| 0d 4d 65 6e 74 69 6f 6e | 20 6f 66 20 74 68 69 72 |.Mention| of thir|
|00000720| 64 2d 70 61 72 74 79 20 | 70 72 6f 64 75 63 74 73 |d-party |products|
|00000730| 20 69 73 20 66 6f 72 20 | 69 6e 66 6f 72 6d 61 74 | is for |informat|
|00000740| 69 6f 6e 61 6c 20 70 75 | 72 70 6f 73 65 73 20 6f |ional pu|rposes o|
|00000750| 6e 6c 79 20 61 6e 64 20 | 63 6f 6e 73 74 69 74 75 |nly and |constitu|
|00000760| 74 65 73 20 6e 65 69 74 | 68 65 72 20 61 6e 20 65 |tes neit|her an e|
|00000770| 6e 64 6f 72 73 65 6d 65 | 6e 74 20 6e 6f 72 20 61 |ndorseme|nt nor a|
|00000780| 20 72 65 63 6f 6d 6d 65 | 6e 64 61 74 69 6f 6e 2e | recomme|ndation.|
|00000790| 20 41 70 70 6c 65 20 61 | 73 73 75 6d 65 73 20 6e | Apple a|ssumes n|
|000007a0| 6f 20 72 65 73 70 6f 6e | 73 69 62 69 6c 69 74 79 |o respon|sibility|
|000007b0| 20 77 69 74 68 20 72 65 | 67 61 72 64 20 74 6f 20 | with re|gard to |
|000007c0| 74 68 65 20 70 65 72 66 | 6f 72 6d 61 6e 63 65 20 |the perf|ormance |
|000007d0| 6f 72 20 75 73 65 20 6f | 66 20 74 68 65 73 65 20 |or use o|f these |
|000007e0| 70 72 6f 64 75 63 74 73 | 2e 20 0d 0d 43 6f 6e 74 |products|. ..Cont|
|000007f0| 65 6e 74 73 0d 41 62 6f | 75 74 20 55 47 4c 69 62 |ents.Abo|ut UGLib|
|00000800| 72 61 72 79 ca ca 2f ca | ca 31 0d 54 68 65 20 75 |rary../.|.1.The u|
|00000810| 73 65 72 73 20 61 6e 64 | 20 67 72 6f 75 70 73 20 |sers and| groups |
|00000820| 66 69 6c 65 ca ca 2f ca | ca 31 0d 55 73 65 72 73 |file../.|.1.Users|
|00000830| ca ca 2f ca ca 32 0d 47 | 72 6f 75 70 73 ca ca 2f |../..2.G|roups../|
|00000840| ca ca 34 0d 54 68 65 20 | 66 69 6c 65 20 73 65 72 |..4.The |file ser|
|00000850| 76 65 72 ca ca 2f ca ca | 35 0d 55 73 69 6e 67 20 |ver../..|5.Using |
|00000860| 55 47 4c 69 62 72 61 72 | 79 ca ca 2f ca ca 36 0d |UGLibrar|y../..6.|
|00000870| 55 47 4c 69 62 72 61 72 | 79 20 66 75 6e 63 74 69 |UGLibrar|y functi|
|00000880| 6f 6e 73 ca ca 2f ca ca | 37 0d 55 47 4f 70 65 6e |ons../..|7.UGOpen|
|00000890| 46 69 6c 65 ca ca 2f ca | ca 38 0d 55 47 43 6c 6f |File../.|.8.UGClo|
|000008a0| 73 65 46 69 6c 65 ca ca | 2f ca ca 39 0d 55 47 43 |seFile..|/..9.UGC|
|000008b0| 72 65 61 74 65 46 69 6c | 65 ca ca 2f ca ca 39 0d |reateFil|e../..9.|
|000008c0| 55 47 4e 65 77 55 73 65 | 72 ca ca 2f ca ca 31 30 |UGNewUse|r../..10|
|000008d0| 0d 55 47 44 65 6c 65 74 | 65 55 73 65 72 ca ca 2f |.UGDelet|eUser../|
|000008e0| ca ca 31 31 0d 55 47 52 | 65 6e 61 6d 65 55 73 65 |..11.UGR|enameUse|
|000008f0| 72 ca ca 2f ca ca 31 32 | 0d 55 47 47 65 74 55 73 |r../..12|.UGGetUs|
|00000900| 65 72 49 6e 66 6f ca ca | 2f ca ca 31 33 0d 55 47 |erInfo..|/..13.UG|
|00000910| 53 65 74 55 73 65 72 49 | 6e 66 6f ca ca 2f ca ca |SetUserI|nfo../..|
|00000920| 31 35 0d 55 47 41 75 74 | 68 65 6e 74 69 63 61 74 |15.UGAut|henticat|
|00000930| 65 55 73 65 72 ca ca 2f | ca ca 31 36 0d 55 47 4e |eUser../|..16.UGN|
|00000940| 65 77 47 72 6f 75 70 ca | ca 2f ca ca 31 37 0d 55 |ewGroup.|./..17.U|
|00000950| 47 44 65 6c 65 74 65 47 | 72 6f 75 70 ca ca 2f ca |GDeleteG|roup../.|
|00000960| ca 31 38 0d 55 47 52 65 | 6e 61 6d 65 47 72 6f 75 |.18.UGRe|nameGrou|
|00000970| 70 ca ca 2f ca ca 31 39 | 0d 55 47 47 65 74 47 72 |p../..19|.UGGetGr|
|00000980| 6f 75 70 49 6e 66 6f ca | ca 2f ca ca 32 30 0d 55 |oupInfo.|./..20.U|
|00000990| 47 41 73 73 69 67 6e 55 | 73 65 72 54 6f 47 72 6f |GAssignU|serToGro|
|000009a0| 75 70 ca ca 2f ca ca 32 | 31 0d 55 47 44 65 6c 65 |up../..2|1.UGDele|
|000009b0| 74 65 55 73 65 72 46 72 | 6f 6d 47 72 6f 75 70 ca |teUserFr|omGroup.|
|000009c0| ca 2f ca ca 32 32 0d 55 | 47 47 65 74 55 4c 49 6e |./..22.U|GGetULIn|
|000009d0| 66 6f ca ca 2f ca ca 32 | 33 0d 55 47 53 65 74 55 |fo../..2|3.UGSetU|
|000009e0| 4c 49 6e 66 6f ca ca 2f | ca ca 32 34 0d 44 61 74 |LInfo../|..24.Dat|
|000009f0| 61 20 73 74 72 75 63 74 | 75 72 65 73 ca ca 2f ca |a struct|ures../.|
|00000a00| ca 32 36 0d 42 69 74 73 | 20 69 6e 20 74 68 65 20 |.26.Bits| in the |
|00000a10| 75 67 55 73 65 72 46 6c | 61 67 73 20 66 69 65 6c |ugUserFl|ags fiel|
|00000a20| 64 20 6f 66 20 55 47 55 | 73 65 72 50 42 ca ca 2f |d of UGU|serPB../|
|00000a30| ca ca 32 36 0d 42 69 74 | 73 20 69 6e 20 74 68 65 |..26.Bit|s in the|
|00000a40| 20 75 67 53 72 76 72 46 | 6c 61 67 73 20 66 69 65 | ugSrvrF|lags fie|
|00000a50| 6c 64 20 6f 66 20 55 47 | 53 65 72 76 65 72 50 42 |ld of UG|ServerPB|
|00000a60| ca ca 2f ca ca 32 37 0d | 50 61 72 61 6d 65 74 65 |../..27.|Paramete|
|00000a70| 72 20 62 6c 6f 63 6b 73 | 20 6e 65 65 64 65 64 20 |r blocks| needed |
|00000a80| 74 6f 20 63 61 6c 6c 20 | 74 68 65 20 55 73 65 72 |to call |the User|
|00000a90| 73 20 61 6e 64 20 47 72 | 6f 75 70 73 20 6c 69 62 |s and Gr|oups lib|
|00000aa0| 72 61 72 79 20 66 75 6e | 63 74 69 6f 6e 73 ca ca |rary fun|ctions..|
|00000ab0| 2f ca ca 32 38 0d 46 75 | 6e 63 74 69 6f 6e 20 73 |/..28.Fu|nction s|
|00000ac0| 75 6d 6d 61 72 79 ca ca | 2f ca ca 33 32 0d 46 75 |ummary..|/..32.Fu|
|00000ad0| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 75 73 65 |nctions |that use|
|00000ae0| 20 74 68 65 20 55 47 46 | 69 6c 65 50 42 20 70 61 | the UGF|ilePB pa|
|00000af0| 72 61 6d 65 74 65 72 20 | 62 6c 6f 63 6b ca ca 2f |rameter |block../|
|00000b00| ca ca 33 32 0d 46 75 6e | 63 74 69 6f 6e 73 20 74 |..32.Fun|ctions t|
|00000b10| 68 61 74 20 75 73 65 20 | 74 68 65 20 55 47 55 73 |hat use |the UGUs|
|00000b20| 65 72 50 42 20 70 61 72 | 61 6d 65 74 65 72 20 62 |erPB par|ameter b|
|00000b30| 6c 6f 63 6b ca ca 2f ca | ca 33 32 0d 46 75 6e 63 |lock../.|.32.Func|
|00000b40| 74 69 6f 6e 73 20 74 68 | 61 74 20 75 73 65 20 74 |tions th|at use t|
|00000b50| 68 65 20 55 47 47 72 6f | 75 70 50 42 20 70 61 72 |he UGGro|upPB par|
|00000b60| 61 6d 65 74 65 72 20 62 | 6c 6f 63 6b ca ca 2f ca |ameter b|lock../.|
|00000b70| ca 33 32 0d 46 75 6e 63 | 74 69 6f 6e 73 20 74 68 |.32.Func|tions th|
|00000b80| 61 74 20 75 73 65 20 74 | 68 65 20 55 47 53 65 72 |at use t|he UGSer|
|00000b90| 76 65 72 50 42 20 70 61 | 72 61 6d 65 74 65 72 20 |verPB pa|rameter |
|00000ba0| 62 6c 6f 63 6b ca ca 2f | ca ca 33 33 0d 52 65 73 |block../|..33.Res|
|00000bb0| 75 6c 74 20 63 6f 64 65 | 73 20 72 65 74 75 72 6e |ult code|s return|
|00000bc0| 65 64 20 62 79 20 55 47 | 4c 69 62 72 61 72 79 20 |ed by UG|Library |
|00000bd0| 66 75 6e 63 74 69 6f 6e | 73 ca ca 2f ca ca 33 33 |function|s../..33|
|00000be0| 0d 41 62 6f 75 74 20 55 | 47 4c 69 62 72 61 72 79 |.About U|GLibrary|
|00000bf0| 0d 55 47 4c 69 62 72 61 | 72 79 20 69 73 20 61 20 |.UGLibra|ry is a |
|00000c00| 73 65 74 20 6f 66 20 66 | 75 6e 63 74 69 6f 6e 73 |set of f|unctions|
|00000c10| 20 74 68 61 74 20 6c 65 | 74 73 20 79 6f 75 20 69 | that le|ts you i|
|00000c20| 6d 70 6c 65 6d 65 6e 74 | 20 75 73 65 72 73 20 61 |mplement| users a|
|00000c30| 6e 64 20 67 72 6f 75 70 | 73 20 63 61 70 61 62 69 |nd group|s capabi|
|00000c40| 6c 69 74 69 65 73 20 66 | 6f 72 20 79 6f 75 72 20 |lities f|or your |
|00000c50| 73 68 61 72 65 64 20 61 | 70 70 6c 69 63 61 74 69 |shared a|pplicati|
|00000c60| 6f 6e 73 20 69 6e 20 61 | 20 63 6f 6e 73 69 73 74 |ons in a| consist|
|00000c70| 65 6e 74 20 77 61 79 2e | 20 54 68 75 73 2c 20 79 |ent way.| Thus, y|
|00000c80| 6f 75 20 63 61 6e 20 74 | 61 6b 65 20 61 64 76 61 |ou can t|ake adva|
|00000c90| 6e 74 61 67 65 20 6f 66 | 20 65 78 69 73 74 69 6e |ntage of| existin|
|00000ca0| 67 20 73 79 73 74 65 6d | 2d 73 6f 66 74 77 61 72 |g system|-softwar|
|00000cb0| 65 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |e users |and grou|
|00000cc0| 70 73 20 63 6f 6d 70 6f | 6e 65 6e 74 73 20 74 6f |ps compo|nents to|
|00000cd0| 20 61 75 74 68 65 6e 74 | 69 63 61 74 65 20 75 73 | authent|icate us|
|00000ce0| 65 72 73 20 6f 66 20 79 | 6f 75 72 20 73 68 61 72 |ers of y|our shar|
|00000cf0| 65 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2e |ed appli|cations.|
|00000d00| 20 0d 41 64 64 69 74 69 | 6f 6e 61 6c 6c 79 2c 20 | .Additi|onally, |
|00000d10| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00000d20| 73 20 63 61 6e 20 75 73 | 65 20 55 47 4c 69 62 72 |s can us|e UGLibr|
|00000d30| 61 72 79 20 74 6f 20 6d | 61 6e 69 70 75 6c 61 74 |ary to m|anipulat|
|00000d40| 65 20 74 68 65 20 55 73 | 65 72 73 20 26 20 47 72 |e the Us|ers & Gr|
|00000d50| 6f 75 70 73 20 44 61 74 | 61 20 46 69 6c 65 20 66 |oups Dat|a File f|
|00000d60| 6f 72 20 74 68 65 20 41 | 70 70 6c 65 53 68 61 72 |or the A|ppleShar|
|00000d70| 65 20 53 65 72 76 65 72 | 20 33 2e 30 2c 20 6f 72 |e Server| 3.0, or|
|00000d80| 20 66 6f 72 20 61 6e 79 | 20 4d 61 63 69 6e 74 6f | for any| Macinto|
|00000d90| 73 68 20 74 68 61 74 20 | 69 73 20 75 73 69 6e 67 |sh that |is using|
|00000da0| 20 4d 61 63 69 6e 74 6f | 73 68 20 46 69 6c 65 20 | Macinto|sh File |
|00000db0| 53 68 61 72 69 6e 67 2e | 20 54 68 65 73 65 20 66 |Sharing.| These f|
|00000dc0| 75 6e 63 74 69 6f 6e 73 | 20 70 72 6f 76 69 64 65 |unctions| provide|
|00000dd0| 20 61 20 73 69 6d 70 6c | 65 20 70 72 6f 67 72 61 | a simpl|e progra|
|00000de0| 6d 6d 69 6e 67 20 69 6e | 74 65 72 66 61 63 65 20 |mming in|terface |
|00000df0| 74 68 61 74 20 61 6c 6c | 6f 77 73 20 79 6f 75 72 |that all|ows your|
|00000e00| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 74 6f | applica|tions to|
|00000e10| 20 61 64 64 20 61 6e 64 | 20 64 65 6c 65 74 65 20 | add and| delete |
|00000e20| 75 73 65 72 73 20 61 6e | 64 20 67 72 6f 75 70 73 |users an|d groups|
|00000e30| 2c 20 61 6e 64 20 74 6f | 20 73 65 74 20 69 6e 66 |, and to| set inf|
|00000e40| 6f 72 6d 61 74 69 6f 6e | 20 6f 6e 20 75 73 65 72 |ormation| on user|
|00000e50| 73 2c 20 67 72 6f 75 70 | 73 2c 20 74 68 65 20 41 |s, group|s, the A|
|00000e60| 70 70 6c 65 53 68 61 72 | 65 20 46 69 6c 65 20 53 |ppleShar|e File S|
|00000e70| 65 72 76 65 72 20 33 2e | 30 2c 20 6f 72 20 4d 61 |erver 3.|0, or Ma|
|00000e80| 63 69 6e 74 6f 73 68 20 | 46 69 6c 65 20 53 68 61 |cintosh |File Sha|
|00000e90| 72 69 6e 67 2e 20 28 54 | 68 72 6f 75 67 68 6f 75 |ring. (T|hroughou|
|00000ea0| 74 20 74 68 65 20 72 65 | 73 74 20 6f 66 20 74 68 |t the re|st of th|
|00000eb0| 69 73 20 64 6f 63 75 6d | 65 6e 74 2c 20 74 68 65 |is docum|ent, the|
|00000ec0| 20 74 65 72 6d 20 66 69 | 6c 65 20 73 65 72 76 65 | term fi|le serve|
|00000ed0| 72 20 69 73 20 75 73 65 | 64 20 74 6f 20 72 65 66 |r is use|d to ref|
|00000ee0| 65 72 20 74 6f 20 62 6f | 74 68 20 74 68 65 20 41 |er to bo|th the A|
|00000ef0| 70 70 6c 65 53 68 61 72 | 65 20 46 69 6c 65 20 53 |ppleShar|e File S|
|00000f00| 65 72 76 65 72 20 33 2e | 30 20 61 6e 64 20 4d 61 |erver 3.|0 and Ma|
|00000f10| 63 69 6e 74 6f 73 68 20 | 46 69 6c 65 20 53 68 61 |cintosh |File Sha|
|00000f20| 72 69 6e 67 2e 29 0d 48 | 65 72 65 20 61 72 65 20 |ring.).H|ere are |
|00000f30| 73 6f 6d 65 20 65 78 61 | 6d 70 6c 65 73 20 6f 66 |some exa|mples of|
|00000f40| 20 68 6f 77 20 55 47 4c | 69 62 72 61 72 79 20 63 | how UGL|ibrary c|
|00000f50| 61 6e 20 68 65 6c 70 20 | 79 6f 75 20 6d 61 6b 65 |an help |you make|
|00000f60| 20 75 73 65 20 6f 66 20 | 75 73 65 72 73 20 61 6e | use of |users an|
|00000f70| 64 20 67 72 6f 75 70 73 | 20 66 69 6c 65 73 20 66 |d groups| files f|
|00000f80| 72 6f 6d 20 77 69 74 68 | 69 6e 20 79 6f 75 72 20 |rom with|in your |
|00000f90| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 3a 0d 6e 09 |applicat|ions:.n.|
|00000fa0| 54 68 65 20 55 47 41 75 | 74 68 65 6e 74 69 63 61 |The UGAu|thentica|
|00000fb0| 74 65 55 73 65 72 20 66 | 75 6e 63 74 69 6f 6e 20 |teUser f|unction |
|00000fc0| 63 61 6e 20 6c 65 74 20 | 73 65 72 76 65 72 20 61 |can let |server a|
|00000fd0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 6f 74 68 65 |pplicati|ons othe|
|00000fe0| 72 20 74 68 61 6e 20 74 | 68 65 20 66 69 6c 65 20 |r than t|he file |
|00000ff0| 73 65 72 76 65 72 20 75 | 73 65 20 74 68 65 20 75 |server u|se the u|
|00001000| 73 65 72 73 20 61 6e 64 | 20 67 72 6f 75 70 73 20 |sers and| groups |
|00001010| 66 69 6c 65 20 74 6f 20 | 61 75 74 68 65 6e 74 69 |file to |authenti|
|00001020| 63 61 74 65 20 74 68 65 | 20 61 70 70 6c 69 63 61 |cate the| applica|
|00001030| 74 69 6f 6e 73 d5 20 72 | 65 6d 6f 74 65 20 75 73 |tions. r|emote us|
|00001040| 65 72 73 2e 20 28 54 68 | 65 20 70 61 73 73 77 6f |ers. (Th|e passwo|
|00001050| 72 64 20 6d 75 73 74 20 | 62 65 20 61 20 50 61 73 |rd must |be a Pas|
|00001060| 63 61 6c 20 73 74 72 69 | 6e 67 20 63 6f 6e 74 61 |cal stri|ng conta|
|00001070| 69 6e 69 6e 67 20 74 68 | 65 20 43 6c 65 61 72 74 |ining th|e Cleart|
|00001080| 65 78 74 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |ext valu|e of the|
|00001090| 20 70 61 73 73 77 6f 72 | 64 2e 20 74 68 65 20 61 | passwor|d. the a|
|000010a0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6d 75 73 74 20 |pplicati|on must |
|000010b0| 75 73 65 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 |use the |appropri|
|000010c0| 61 74 65 20 65 6e 63 72 | 79 70 74 69 6f 6e 20 6d |ate encr|yption m|
|000010d0| 65 74 68 6f 64 73 20 69 | 66 20 74 68 65 20 70 61 |ethods i|f the pa|
|000010e0| 73 73 77 6f 72 64 20 77 | 69 6c 6c 20 62 65 20 73 |ssword w|ill be s|
|000010f0| 65 6e 74 20 6f 76 65 72 | 20 74 68 65 20 6e 65 74 |ent over| the net|
|00001100| 77 6f 72 6b 2e 29 20 0d | 6e 09 41 20 64 61 74 61 |work.) .|n.A data|
|00001110| 62 61 73 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |base app|lication|
|00001120| 20 63 61 6e 20 75 73 65 | 20 74 68 65 20 55 47 47 | can use| the UGG|
|00001130| 65 74 55 73 65 72 49 6e | 66 6f 20 66 75 6e 63 74 |etUserIn|fo funct|
|00001140| 69 6f 6e 20 74 6f 20 73 | 65 65 20 69 66 20 61 20 |ion to s|ee if a |
|00001150| 72 65 6d 6f 74 65 20 75 | 73 65 72 20 69 73 20 61 |remote u|ser is a|
|00001160| 20 6d 65 6d 62 65 72 20 | 6f 66 20 61 20 73 70 65 | member |of a spe|
|00001170| 63 69 66 69 63 20 67 72 | 6f 75 70 20 62 65 66 6f |cific gr|oup befo|
|00001180| 72 65 20 61 6c 6c 6f 77 | 69 6e 67 20 74 68 65 20 |re allow|ing the |
|00001190| 75 73 65 72 20 61 63 63 | 65 73 73 20 74 6f 20 66 |user acc|ess to f|
|000011a0| 69 6c 65 73 2e 0d 6e 09 | 43 6c 61 73 73 72 6f 6f |iles..n.|Classroo|
|000011b0| 6d 20 73 6f 66 74 77 61 | 72 65 20 63 61 6e 20 67 |m softwa|re can g|
|000011c0| 65 6e 65 72 61 74 65 20 | 75 73 65 72 73 20 61 6e |enerate |users an|
|000011d0| 64 20 67 72 6f 75 70 73 | 20 66 69 6c 65 73 20 66 |d groups| files f|
|000011e0| 6f 72 20 66 69 6c 65 20 | 73 65 72 76 65 72 73 2c |or file |servers,|
|000011f0| 20 75 73 69 6e 67 20 69 | 74 73 20 73 74 75 64 65 | using i|ts stude|
|00001200| 6e 74 20 61 6e 64 20 63 | 6c 61 73 73 20 64 61 74 |nt and c|lass dat|
|00001210| 61 62 61 73 65 2e 0d 6e | 09 41 6e 20 61 70 70 6c |abase..n|.An appl|
|00001220| 69 63 61 74 69 6f 6e 2c | 20 72 75 6e 6e 69 6e 67 |ication,| running|
|00001230| 20 6f 6e 20 61 20 73 65 | 72 76 65 72 20 4d 61 63 | on a se|rver Mac|
|00001240| 69 6e 74 6f 73 68 2c 20 | 74 68 61 74 20 69 73 20 |intosh, |that is |
|00001250| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6e 67 20 77 69 |communic|ating wi|
|00001260| 74 68 20 61 20 72 65 6d | 6f 74 65 20 61 70 70 6c |th a rem|ote appl|
|00001270| 69 63 61 74 69 6f 6e 20 | 63 61 6e 20 62 65 20 75 |ication |can be u|
|00001280| 73 65 64 20 74 6f 20 6d | 61 69 6e 74 61 69 6e 20 |sed to m|aintain |
|00001290| 74 68 65 20 75 73 65 72 | 73 20 61 6e 64 20 67 72 |the user|s and gr|
|000012a0| 6f 75 70 73 20 66 69 6c | 65 73 20 72 65 6d 6f 74 |oups fil|es remot|
|000012b0| 65 6c 79 2e 20 41 70 70 | 6c 65 20 65 76 65 6e 74 |ely. App|le event|
|000012c0| 73 20 6f 72 20 74 68 65 | 20 50 50 43 20 54 6f 6f |s or the| PPC Too|
|000012d0| 6c 62 6f 78 20 63 61 6e | 20 62 65 20 75 73 65 64 |lbox can| be used|
|000012e0| 20 66 6f 72 20 61 75 74 | 68 65 6e 74 69 63 61 74 | for aut|henticat|
|000012f0| 65 64 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |ed commu|nication|
|00001300| 73 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 61 70 |s betwee|n the ap|
|00001310| 70 6c 69 63 61 74 69 6f | 6e 73 2e 0d 54 68 65 20 |plicatio|ns..The |
|00001320| 75 73 65 72 73 20 61 6e | 64 20 67 72 6f 75 70 73 |users an|d groups|
|00001330| 20 66 69 6c 65 0d 41 20 | 75 73 65 72 73 20 61 6e | file.A |users an|
|00001340| 64 20 67 72 6f 75 70 73 | 20 66 69 6c 65 20 63 6f |d groups| file co|
|00001350| 6e 74 61 69 6e 73 20 72 | 65 63 6f 72 64 73 20 74 |ntains r|ecords t|
|00001360| 68 61 74 20 64 65 66 69 | 6e 65 20 66 69 6c 65 20 |hat defi|ne file |
|00001370| 73 65 72 76 65 72 20 63 | 68 61 72 61 63 74 65 72 |server c|haracter|
|00001380| 69 73 74 69 63 73 2c 20 | 74 68 65 20 6c 69 73 74 |istics, |the list|
|00001390| 20 6f 66 20 75 73 65 72 | 73 2c 20 74 68 65 20 6c | of user|s, the l|
|000013a0| 69 73 74 20 6f 66 20 67 | 72 6f 75 70 73 2c 20 74 |ist of g|roups, t|
|000013b0| 68 65 20 6d 61 70 70 69 | 6e 67 20 6f 66 20 75 73 |he mappi|ng of us|
|000013c0| 65 72 73 20 69 6e 74 6f | 20 67 72 6f 75 70 73 2c |ers into| groups,|
|000013d0| 20 61 6e 64 20 6f 74 68 | 65 72 20 69 6e 66 6f 72 | and oth|er infor|
|000013e0| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 75 73 65 |mation a|bout use|
|000013f0| 72 73 2e 20 55 73 65 72 | 73 20 61 6e 64 20 67 72 |rs. User|s and gr|
|00001400| 6f 75 70 73 20 66 69 6c | 65 73 20 63 61 6e 20 62 |oups fil|es can b|
|00001410| 65 20 6f 70 65 6e 65 64 | 20 61 6e 64 20 63 6c 6f |e opened| and clo|
|00001420| 73 65 64 2e 20 57 68 65 | 6e 20 61 20 75 73 65 72 |sed. Whe|n a user|
|00001430| 73 20 61 6e 64 20 67 72 | 6f 75 70 73 20 66 69 6c |s and gr|oups fil|
|00001440| 65 20 69 73 20 6f 70 65 | 6e 65 64 2c 20 61 20 66 |e is ope|ned, a f|
|00001450| 69 6c 65 20 72 65 66 65 | 72 65 6e 63 65 20 6e 75 |ile refe|rence nu|
|00001460| 6d 62 65 72 20 69 73 20 | 61 73 73 69 67 6e 65 64 |mber is |assigned|
|00001470| 20 74 6f 20 74 68 65 20 | 61 63 63 65 73 73 20 70 | to the |access p|
|00001480| 61 74 68 20 61 6e 64 20 | 61 20 70 72 6f 67 72 61 |ath and |a progra|
|00001490| 6d 20 61 63 63 65 73 73 | 20 49 44 20 69 73 20 61 |m access| ID is a|
|000014a0| 73 73 69 67 6e 65 64 20 | 74 6f 20 74 68 65 20 61 |ssigned |to the a|
|000014b0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 74 68 61 74 20 |pplicati|on that |
|000014c0| 6f 70 65 6e 65 64 20 74 | 68 65 20 66 69 6c 65 2e |opened t|he file.|
|000014d0| 20 54 68 65 20 66 69 6c | 65 20 72 65 66 65 72 65 | The fil|e refere|
|000014e0| 6e 63 65 20 6e 75 6d 62 | 65 72 20 61 6e 64 20 70 |nce numb|er and p|
|000014f0| 72 6f 67 72 61 6d 20 61 | 63 63 65 73 73 20 49 44 |rogram a|ccess ID|
|00001500| 20 61 72 65 20 70 61 73 | 73 65 64 20 74 6f 20 61 | are pas|sed to a|
|00001510| 6c 6c 20 55 47 4c 69 62 | 72 61 72 79 20 66 75 6e |ll UGLib|rary fun|
|00001520| 63 74 69 6f 6e 73 20 74 | 68 61 74 20 6d 61 6e 69 |ctions t|hat mani|
|00001530| 70 75 6c 61 74 65 20 74 | 68 65 20 6f 70 65 6e 20 |pulate t|he open |
|00001540| 75 73 65 72 73 20 61 6e | 64 20 67 72 6f 75 70 73 |users an|d groups|
|00001550| 20 66 69 6c 65 2e 0d 57 | 68 65 6e 20 79 6f 75 72 | file..W|hen your|
|00001560| 20 70 72 6f 67 72 61 6d | 20 63 72 65 61 74 65 73 | program| creates|
|00001570| 20 61 20 75 73 65 72 73 | 20 61 6e 64 20 67 72 6f | a users| and gro|
|00001580| 75 70 73 20 66 69 6c 65 | 2c 20 74 68 65 20 66 69 |ups file|, the fi|
|00001590| 6c 65 d5 73 20 73 65 72 | 76 65 72 20 76 65 72 73 |le.s ser|ver vers|
|000015a0| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 69 73 20 53 79 |ion numb|er is Sy|
|000015b0| 73 37 53 72 76 72 56 65 | 72 2e 20 28 54 68 69 73 |s7SrvrVe|r. (This|
|000015c0| 20 69 73 20 74 68 65 20 | 76 61 6c 75 65 20 74 68 | is the |value th|
|000015d0| 61 74 20 74 68 65 20 55 | 47 47 65 74 55 4c 49 6e |at the U|GGetULIn|
|000015e0| 66 6f 20 66 75 6e 63 74 | 69 6f 6e 20 72 65 74 75 |fo funct|ion retu|
|000015f0| 72 6e 73 20 69 6e 20 74 | 68 65 20 75 67 53 72 76 |rns in t|he ugSrv|
|00001600| 72 56 65 72 73 69 6f 6e | 20 66 69 65 6c 64 2e 29 |rVersion| field.)|
|00001610| 20 54 68 69 73 20 76 65 | 72 73 69 6f 6e 20 6e 75 | This ve|rsion nu|
|00001620| 6d 62 65 72 20 69 6e 64 | 69 63 61 74 65 73 20 74 |mber ind|icates t|
|00001630| 68 61 74 20 74 68 65 20 | 66 69 6c 65 20 63 61 6e |hat the |file can|
|00001640| 20 62 65 20 75 73 65 64 | 20 6f 6e 6c 79 20 62 79 | be used| only by|
|00001650| 20 4d 61 63 69 6e 74 6f | 73 68 20 46 69 6c 65 20 | Macinto|sh File |
|00001660| 53 68 61 72 69 6e 67 2e | 20 49 66 20 74 68 65 20 |Sharing.| If the |
|00001670| 66 69 6c 65 20 69 73 20 | 74 6f 20 62 65 20 75 73 |file is |to be us|
|00001680| 65 64 20 77 69 74 68 20 | 74 68 65 20 41 70 70 6c |ed with |the Appl|
|00001690| 65 53 68 61 72 65 20 46 | 69 6c 65 20 53 65 72 76 |eShare F|ile Serv|
|000016a0| 65 72 20 33 2e 30 2c 20 | 74 68 65 20 75 67 53 72 |er 3.0, |the ugSr|
|000016b0| 76 72 56 65 72 73 69 6f | 6e 20 66 69 65 6c 64 20 |vrVersio|n field |
|000016c0| 6d 75 73 74 20 62 65 20 | 73 65 74 20 74 6f 20 41 |must be |set to A|
|000016d0| 53 33 53 72 76 72 56 65 | 72 20 62 79 20 6d 65 61 |S3SrvrVe|r by mea|
|000016e0| 6e 73 20 6f 66 20 74 68 | 65 20 55 47 53 65 74 55 |ns of th|e UGSetU|
|000016f0| 4c 49 6e 66 6f 20 66 75 | 6e 63 74 69 6f 6e 2e 20 |LInfo fu|nction. |
|00001700| 0d 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 55 |.The fol|lowing U|
|00001710| 47 4c 69 62 72 61 72 79 | 20 66 75 6e 63 74 69 6f |GLibrary| functio|
|00001720| 6e 73 20 61 72 65 20 72 | 65 6c 65 76 61 6e 74 20 |ns are r|elevant |
|00001730| 74 6f 20 75 73 65 72 73 | 20 61 6e 64 20 67 72 6f |to users| and gro|
|00001740| 75 70 73 20 66 69 6c 65 | 73 20 61 6e 64 20 61 72 |ups file|s and ar|
|00001750| 65 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 64 |e descri|bed in d|
|00001760| 65 74 61 69 6c 20 6c 61 | 74 65 72 20 69 6e 20 74 |etail la|ter in t|
|00001770| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 3a 0d 6e 09 |his docu|ment:.n.|
|00001780| 55 47 4f 70 65 6e 46 69 | 6c 65 0d 6e 09 55 47 43 |UGOpenFi|le.n.UGC|
|00001790| 6c 6f 73 65 46 69 6c 65 | 0d 6e 09 55 47 43 72 65 |loseFile|.n.UGCre|
|000017a0| 61 74 65 46 69 6c 65 0d | 55 73 65 72 73 0d 54 68 |ateFile.|Users.Th|
|000017b0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 61 74 74 72 |e follow|ing attr|
|000017c0| 69 62 75 74 65 73 20 61 | 72 65 20 61 73 73 69 67 |ibutes a|re assig|
|000017d0| 6e 65 64 20 74 6f 20 65 | 61 63 68 20 75 73 65 72 |ned to e|ach user|
|000017e0| 20 28 65 78 63 65 70 74 | 20 74 68 65 20 67 75 65 | (except| the gue|
|000017f0| 73 74 20 75 73 65 72 29 | 3a 20 61 20 75 73 65 72 |st user)|: a user|
|00001800| 20 49 44 2c 20 61 20 75 | 73 65 72 20 6e 61 6d 65 | ID, a u|ser name|
|00001810| 2c 20 61 20 70 61 73 73 | 77 6f 72 64 2c 20 61 6e |, a pass|word, an|
|00001820| 64 20 75 73 65 72 20 66 | 6c 61 67 73 2e 20 54 68 |d user f|lags. Th|
|00001830| 65 73 65 20 61 74 74 72 | 69 62 75 74 65 73 20 61 |ese attr|ibutes a|
|00001840| 72 65 20 61 73 73 69 67 | 6e 65 64 20 77 68 65 6e |re assig|ned when|
|00001850| 20 74 68 65 20 75 73 65 | 72 20 69 73 20 63 72 65 | the use|r is cre|
|00001860| 61 74 65 64 20 77 69 74 | 68 20 74 68 65 20 55 47 |ated wit|h the UG|
|00001870| 4e 65 77 55 73 65 72 20 | 66 75 6e 63 74 69 6f 6e |NewUser |function|
|00001880| 2e 20 54 68 65 20 75 73 | 65 72 20 49 44 20 63 61 |. The us|er ID ca|
|00001890| 6e 6e 6f 74 20 62 65 20 | 63 68 61 6e 67 65 64 2e |nnot be |changed.|
|000018a0| 20 54 68 65 20 75 73 65 | 72 20 6e 61 6d 65 20 63 | The use|r name c|
|000018b0| 61 6e 20 62 65 20 63 68 | 61 6e 67 65 64 20 77 69 |an be ch|anged wi|
|000018c0| 74 68 20 74 68 65 20 55 | 47 52 65 6e 61 6d 65 55 |th the U|GRenameU|
|000018d0| 73 65 72 20 66 75 6e 63 | 74 69 6f 6e 2e 0d 4e 6f |ser func|tion..No|
|000018e0| 74 65 20 20 55 47 4c 69 | 62 72 61 72 79 20 64 6f |te UGLi|brary do|
|000018f0| 65 73 20 6e 6f 74 20 61 | 6c 6c 6f 77 20 75 73 65 |es not a|llow use|
|00001900| 72 20 6f 72 20 67 72 6f | 75 70 20 6e 61 6d 65 73 |r or gro|up names|
|00001910| 20 74 6f 20 63 6f 6e 74 | 61 69 6e 20 74 68 65 20 | to cont|ain the |
|00001920| 63 6f 6c 6f 6e 20 28 3a | 29 20 63 68 61 72 61 63 |colon (:|) charac|
|00001930| 74 65 72 2e 20 55 73 65 | 72 20 6f 72 20 67 72 6f |ter. Use|r or gro|
|00001940| 75 70 20 6e 61 6d 65 73 | 20 63 61 6e 20 63 6f 6e |up names| can con|
|00001950| 74 61 69 6e 20 74 68 65 | 20 73 6c 61 73 68 20 28 |tain the| slash (|
|00001960| 2f 29 20 63 68 61 72 61 | 63 74 65 72 2c 20 62 75 |/) chara|cter, bu|
|00001970| 74 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 61 76 6f |t you sh|ould avo|
|00001980| 69 64 20 75 73 69 6e 67 | 20 73 75 63 68 20 6e 61 |id using| such na|
|00001990| 6d 65 73 20 62 65 63 61 | 75 73 65 20 74 68 65 79 |mes beca|use they|
|000019a0| 20 61 72 65 20 6e 6f 74 | 20 63 6f 6d 70 61 74 69 | are not| compati|
|000019b0| 62 6c 65 20 77 69 74 68 | 20 74 68 65 20 41 70 70 |ble with| the App|
|000019c0| 6c 65 20 49 49 20 66 61 | 6d 69 6c 79 20 6f 66 20 |le II fa|mily of |
|000019d0| 63 6f 6d 70 75 74 65 72 | 73 2e 0d 54 68 65 20 70 |computer|s..The p|
|000019e0| 61 73 73 77 6f 72 64 20 | 61 6e 64 20 75 73 65 72 |assword |and user|
|000019f0| 20 66 6c 61 67 73 20 63 | 61 6e 20 62 65 20 72 65 | flags c|an be re|
|00001a00| 61 64 20 6f 72 20 63 68 | 61 6e 67 65 64 20 77 69 |ad or ch|anged wi|
|00001a10| 74 68 20 74 68 65 20 55 | 47 47 65 74 55 73 65 72 |th the U|GGetUser|
|00001a20| 49 6e 66 6f 20 6f 72 20 | 55 47 53 65 74 55 73 65 |Info or |UGSetUse|
|00001a30| 72 49 6e 66 6f 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |rInfo fu|nction, |
|00001a40| 72 65 73 70 65 63 74 69 | 76 65 6c 79 2e 20 54 68 |respecti|vely. Th|
|00001a50| 65 72 65 20 61 72 65 20 | 66 69 76 65 20 75 73 65 |ere are |five use|
|00001a60| 72 20 66 6c 61 67 73 3a | 0d 49 41 43 45 6e 61 62 |r flags:|.IACEnab|
|00001a70| 6c 65 64 09 53 65 74 20 | 69 66 20 69 6e 74 65 72 |led.Set |if inter|
|00001a80| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 63 6f 6d 6d |applicat|ion comm|
|00001a90| 75 6e 69 63 61 74 69 6f | 6e 20 28 49 41 43 29 20 |unicatio|n (IAC) |
|00001aa0| 69 73 20 65 6e 61 62 6c | 65 64 20 66 6f 72 20 74 |is enabl|ed for t|
|00001ab0| 68 65 20 75 73 65 72 2e | 0d 4c 6f 67 69 6e 45 6e |he user.|.LoginEn|
|00001ac0| 61 62 6c 65 64 09 53 65 | 74 20 69 66 20 66 69 6c |abled.Se|t if fil|
|00001ad0| 65 20 73 65 72 76 65 72 | 20 6c 6f 67 69 6e 20 69 |e server| login i|
|00001ae0| 73 20 65 6e 61 62 6c 65 | 64 20 66 6f 72 20 74 68 |s enable|d for th|
|00001af0| 65 20 75 73 65 72 2e 0d | 53 75 70 65 72 55 73 65 |e user..|SuperUse|
|00001b00| 72 09 53 65 74 20 69 66 | 20 74 68 65 20 75 73 65 |r.Set if| the use|
|00001b10| 72 20 69 73 20 61 20 73 | 79 73 74 65 6d 20 61 64 |r is a s|ystem ad|
|00001b20| 6d 69 6e 69 73 74 72 61 | 74 6f 72 20 75 73 65 72 |ministra|tor user|
|00001b30| 20 28 74 68 61 74 20 69 | 73 2c 20 74 68 65 20 73 | (that i|s, the s|
|00001b40| 79 73 74 65 6d 20 6f 77 | 6e 65 72 2c 20 6b 6e 6f |ystem ow|ner, kno|
|00001b50| 77 6e 20 69 6e 20 41 70 | 70 6c 65 53 68 61 72 65 |wn in Ap|pleShare|
|00001b60| 20 74 65 72 6d 69 6e 6f | 6c 6f 67 79 20 61 73 20 | termino|logy as |
|00001b70| 74 68 65 20 73 75 70 65 | 72 75 73 65 72 29 2e 20 |the supe|ruser). |
|00001b80| 4f 6e 6c 79 20 6f 6e 65 | 20 73 75 70 65 72 75 73 |Only one| superus|
|00001b90| 65 72 20 69 73 20 61 6c | 6c 6f 77 65 64 20 75 6e |er is al|lowed un|
|00001ba0| 64 65 72 20 4d 61 63 69 | 6e 74 6f 73 68 20 46 69 |der Maci|ntosh Fi|
|00001bb0| 6c 65 20 53 68 61 72 69 | 6e 67 2e 0d 4e 6f 43 68 |le Shari|ng..NoCh|
|00001bc0| 61 6e 67 65 50 77 64 09 | 53 65 74 20 69 66 20 74 |angePwd.|Set if t|
|00001bd0| 68 65 20 75 73 65 72 20 | 63 61 6e 6e 6f 74 20 63 |he user |cannot c|
|00001be0| 68 61 6e 67 65 20 68 69 | 73 20 6f 72 20 68 65 72 |hange hi|s or her|
|00001bf0| 20 70 61 73 73 77 6f 72 | 64 20 66 72 6f 6d 20 61 | passwor|d from a|
|00001c00| 20 72 65 6d 6f 74 65 20 | 77 6f 72 6b 73 74 61 74 | remote |workstat|
|00001c10| 69 6f 6e 2e 0d 47 65 74 | 4e 65 77 50 77 64 09 53 |ion..Get|NewPwd.S|
|00001c20| 65 74 20 69 66 20 74 68 | 65 20 66 69 6c 65 20 73 |et if th|e file s|
|00001c30| 65 72 76 65 72 20 73 68 | 6f 75 6c 64 20 64 65 6d |erver sh|ould dem|
|00001c40| 61 6e 64 20 61 20 6e 65 | 77 20 70 61 73 73 77 6f |and a ne|w passwo|
|00001c50| 72 64 20 66 72 6f 6d 20 | 74 68 65 20 75 73 65 72 |rd from |the user|
|00001c60| 20 61 74 20 74 68 65 20 | 6e 65 78 74 20 6c 6f 67 | at the |next log|
|00001c70| 69 6e 2e 20 54 68 69 73 | 20 66 6c 61 67 20 69 73 |in. This| flag is|
|00001c80| 20 61 76 61 69 6c 61 62 | 6c 65 20 6f 6e 6c 79 20 | availab|le only |
|00001c90| 6f 6e 20 74 68 65 20 41 | 70 70 6c 65 53 68 61 72 |on the A|ppleShar|
|00001ca0| 65 20 46 69 6c 65 20 53 | 65 72 76 65 72 20 33 2e |e File S|erver 3.|
|00001cb0| 30 2e 20 54 68 69 73 20 | 66 6c 61 67 20 6d 75 73 |0. This |flag mus|
|00001cc0| 74 20 62 65 20 63 6c 65 | 61 72 20 66 6f 72 20 4d |t be cle|ar for M|
|00001cd0| 61 63 69 6e 74 6f 73 68 | 20 46 69 6c 65 20 53 68 |acintosh| File Sh|
|00001ce0| 61 72 69 6e 67 2e 0d 54 | 77 6f 20 6b 69 6e 64 73 |aring..T|wo kinds|
|00001cf0| 20 6f 66 20 75 73 65 72 | 73 20 61 72 65 20 74 72 | of user|s are tr|
|00001d00| 65 61 74 65 64 20 64 69 | 66 66 65 72 65 6e 74 6c |eated di|fferentl|
|00001d10| 79 20 74 68 61 6e 20 6f | 74 68 65 72 20 75 73 65 |y than o|ther use|
|00001d20| 72 73 3a 20 74 68 65 20 | 67 75 65 73 74 20 75 73 |rs: the |guest us|
|00001d30| 65 72 20 61 6e 64 20 74 | 68 65 20 73 79 73 74 65 |er and t|he syste|
|00001d40| 6d 20 61 64 6d 69 6e 69 | 73 74 72 61 74 6f 72 20 |m admini|strator |
|00001d50| 75 73 65 72 2e 20 54 68 | 65 20 47 75 65 73 74 20 |user. Th|e Guest |
|00001d60| 61 74 74 72 69 62 75 74 | 65 73 20 61 72 65 20 6d |attribut|es are m|
|00001d70| 61 69 6e 74 61 69 6e 65 | 64 20 61 73 20 70 61 72 |aintaine|d as par|
|00001d80| 74 20 6f 66 20 74 68 65 | 20 73 65 72 76 65 72 20 |t of the| server |
|00001d90| 63 68 61 72 61 63 74 65 | 72 69 73 74 69 63 73 20 |characte|ristics |
|00001da0| 61 6e 64 20 63 61 6e 20 | 62 65 20 72 65 61 64 20 |and can |be read |
|00001db0| 6f 72 20 73 65 74 20 77 | 69 74 68 20 74 68 65 20 |or set w|ith the |
|00001dc0| 55 47 47 65 74 55 4c 49 | 6e 66 6f 20 6f 72 20 55 |UGGetULI|nfo or U|
|00001dd0| 47 53 65 74 55 4c 49 6e | 66 6f 20 66 75 6e 63 74 |GSetULIn|fo funct|
|00001de0| 69 6f 6e 73 2c 20 72 65 | 73 70 65 63 74 69 76 65 |ions, re|spective|
|00001df0| 6c 79 2e 20 54 68 65 20 | 72 65 63 6f 72 64 20 77 |ly. The |record w|
|00001e00| 69 74 68 20 49 44 20 30 | 20 63 6f 6e 74 61 69 6e |ith ID 0| contain|
|00001e10| 73 20 74 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 |s this i|nformati|
|00001e20| 6f 6e 20 61 6e 64 20 69 | 73 20 61 75 74 6f 6d 61 |on and i|s automa|
|00001e30| 74 69 63 61 6c 6c 79 20 | 63 72 65 61 74 65 64 20 |tically |created |
|00001e40| 61 6c 6f 6e 67 20 77 69 | 74 68 20 61 20 6e 65 77 |along wi|th a new|
|00001e50| 20 75 73 65 72 73 20 61 | 6e 64 20 67 72 6f 75 70 | users a|nd group|
|00001e60| 73 20 66 69 6c 65 20 62 | 79 20 74 68 65 20 55 47 |s file b|y the UG|
|00001e70| 43 72 65 61 74 65 46 69 | 6c 65 20 66 75 6e 63 74 |CreateFi|le funct|
|00001e80| 69 6f 6e 2e 0d 54 68 65 | 20 61 64 6d 69 6e 69 73 |ion..The| adminis|
|00001e90| 74 72 61 74 6f 72 20 75 | 73 65 72 d5 73 20 75 73 |trator u|ser.s us|
|00001ea0| 65 72 20 49 44 20 69 73 | 20 61 6c 77 61 79 73 20 |er ID is| always |
|00001eb0| 31 2e 20 59 6f 75 20 63 | 61 6e 20 75 73 65 20 65 |1. You c|an use e|
|00001ec0| 69 74 68 65 72 20 6f 66 | 20 74 77 6f 20 6d 65 74 |ither of| two met|
|00001ed0| 68 6f 64 73 20 74 6f 20 | 73 65 74 20 75 70 20 74 |hods to |set up t|
|00001ee0| 68 65 20 61 64 6d 69 6e | 69 73 74 72 61 74 6f 72 |he admin|istrator|
|00001ef0| 20 75 73 65 72 3a 20 59 | 6f 75 20 63 61 6e 20 68 | user: Y|ou can h|
|00001f00| 61 76 65 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 |ave your| applica|
|00001f10| 74 69 6f 6e 20 63 72 65 | 61 74 65 20 74 68 65 20 |tion cre|ate the |
|00001f20| 61 64 6d 69 6e 69 73 74 | 72 61 74 6f 72 20 75 73 |administ|rator us|
|00001f30| 65 72 20 77 69 74 68 20 | 74 68 65 20 55 47 4e 65 |er with |the UGNe|
|00001f40| 77 55 73 65 72 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |wUser fu|nction, |
|00001f50| 6f 72 20 79 6f 75 20 63 | 61 6e 20 6c 65 74 20 74 |or you c|an let t|
|00001f60| 68 65 20 66 69 6c 65 20 | 73 65 72 76 65 72 20 63 |he file |server c|
|00001f70| 72 65 61 74 65 20 74 68 | 65 20 61 64 6d 69 6e 69 |reate th|e admini|
|00001f80| 73 74 72 61 74 6f 72 20 | 75 73 65 72 20 66 6f 72 |strator |user for|
|00001f90| 20 79 6f 75 2e 20 54 68 | 65 20 66 69 72 73 74 20 | you. Th|e first |
|00001fa0| 74 69 6d 65 20 65 69 74 | 68 65 72 20 4d 61 63 69 |time eit|her Maci|
|00001fb0| 6e 74 6f 73 68 20 46 69 | 6c 65 20 53 68 61 72 69 |ntosh Fi|le Shari|
|00001fc0| 6e 67 20 6f 72 20 74 68 | 65 20 41 70 70 6c 65 53 |ng or th|e AppleS|
|00001fd0| 68 61 72 65 20 41 64 6d | 69 6e 20 70 72 6f 67 72 |hare Adm|in progr|
|00001fe0| 61 6d 20 61 63 63 65 73 | 73 65 73 20 61 20 75 73 |am acces|ses a us|
|00001ff0| 65 72 73 20 61 6e 64 20 | 67 72 6f 75 70 73 20 66 |ers and |groups f|
|00002000| 69 6c 65 2c 20 69 74 20 | 63 68 65 63 6b 73 20 66 |ile, it |checks f|
|00002010| 6f 72 20 74 68 65 20 61 | 64 6d 69 6e 69 73 74 72 |or the a|dministr|
|00002020| 61 74 6f 72 20 75 73 65 | 72 2e 20 49 66 20 74 68 |ator use|r. If th|
|00002030| 65 20 61 64 6d 69 6e 69 | 73 74 72 61 74 6f 72 20 |e admini|strator |
|00002040| 75 73 65 72 20 69 73 20 | 6e 6f 74 20 66 6f 75 6e |user is |not foun|
|00002050| 64 2c 20 69 74 20 69 73 | 20 63 72 65 61 74 65 64 |d, it is| created|
|00002060| 20 61 6e 64 20 67 69 76 | 65 6e 20 74 68 65 20 d2 | and giv|en the .|
|00002070| 6f 77 6e 65 72 20 6e 61 | 6d 65 d3 20 66 6f 75 6e |owner na|me. foun|
|00002080| 64 20 69 6e 20 74 68 65 | 20 27 53 54 52 ca 27 20 |d in the| 'STR.' |
|00002090| 72 65 73 6f 75 72 63 65 | 20 49 44 20 d0 31 36 30 |resource| ID .160|
|000020a0| 39 36 20 28 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |96 (the |name of |
|000020b0| 74 68 65 20 70 65 72 73 | 6f 6e 20 77 68 6f 20 d2 |the pers|on who .|
|000020c0| 6f 77 6e 73 d3 20 74 68 | 65 20 63 6f 6d 70 75 74 |owns. th|e comput|
|000020d0| 65 72 29 2c 20 77 68 69 | 63 68 20 72 65 73 69 64 |er), whi|ch resid|
|000020e0| 65 73 20 69 6e 20 74 68 | 65 20 53 79 73 74 65 6d |es in th|e System|
|000020f0| 20 66 69 6c 65 2e 20 49 | 66 20 74 68 65 20 61 64 | file. I|f the ad|
|00002100| 6d 69 6e 69 73 74 72 61 | 74 6f 72 20 75 73 65 72 |ministra|tor user|
|00002110| 20 69 73 20 66 6f 75 6e | 64 20 61 6e 64 20 69 74 | is foun|d and it|
|00002120| 73 20 6e 61 6d 65 20 64 | 6f 65 73 20 6e 6f 74 20 |s name d|oes not |
|00002130| 6d 61 74 63 68 20 74 68 | 65 20 6f 77 6e 65 72 20 |match th|e owner |
|00002140| 6e 61 6d 65 20 69 6e 20 | 74 68 65 20 53 79 73 74 |name in |the Syst|
|00002150| 65 6d 20 66 69 6c 65 2c | 20 74 68 65 6e 20 74 68 |em file,| then th|
|00002160| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 61 64 |e name o|f the ad|
|00002170| 6d 69 6e 69 73 74 72 61 | 74 6f 72 20 75 73 65 72 |ministra|tor user|
|00002180| 20 69 73 20 70 75 74 20 | 69 6e 74 6f 20 74 68 65 | is put |into the|
|00002190| 20 27 53 54 52 ca 27 20 | 72 65 73 6f 75 72 63 65 | 'STR.' |resource|
|000021a0| 20 49 44 20 d0 31 36 30 | 39 36 20 73 6f 20 74 68 | ID .160|96 so th|
|000021b0| 61 74 20 61 6c 6c 20 70 | 61 72 74 73 20 6f 66 20 |at all p|arts of |
|000021c0| 74 68 65 20 73 79 73 74 | 65 6d 20 75 73 65 20 74 |the syst|em use t|
|000021d0| 68 65 20 73 61 6d 65 20 | 61 64 6d 69 6e 69 73 74 |he same |administ|
|000021e0| 72 61 74 6f 72 20 6e 61 | 6d 65 2e 20 4f 6e 63 65 |rator na|me. Once|
|000021f0| 20 74 68 65 20 61 64 6d | 69 6e 69 73 74 72 61 74 | the adm|inistrat|
|00002200| 6f 72 20 75 73 65 72 20 | 69 73 20 63 72 65 61 74 |or user |is creat|
|00002210| 65 64 2c 20 69 74 20 63 | 61 6e 6e 6f 74 20 62 65 |ed, it c|annot be|
|00002220| 20 64 65 6c 65 74 65 64 | 20 6f 72 20 72 65 6e 61 | deleted| or rena|
|00002230| 6d 65 64 20 62 79 20 6d | 65 61 6e 73 20 6f 66 20 |med by m|eans of |
|00002240| 55 47 4c 69 62 72 61 72 | 79 3b 20 69 74 20 63 61 |UGLibrar|y; it ca|
|00002250| 6e 20 6f 6e 6c 79 20 62 | 65 20 72 65 6e 61 6d 65 |n only b|e rename|
|00002260| 64 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 53 79 |d throug|h the Sy|
|00002270| 73 74 65 6d 20 37 20 53 | 68 61 72 69 6e 67 20 53 |stem 7 S|haring S|
|00002280| 65 74 75 70 20 63 6f 6e | 74 72 6f 6c 20 70 61 6e |etup con|trol pan|
|00002290| 65 6c 20 6f 72 20 62 79 | 20 6d 65 61 6e 73 20 6f |el or by| means o|
|000022a0| 66 20 41 70 70 6c 65 53 | 68 61 72 65 20 41 64 6d |f AppleS|hare Adm|
|000022b0| 69 6e 2e 0d 49 6e 20 61 | 64 64 69 74 69 6f 6e 20 |in..In a|ddition |
|000022c0| 74 6f 20 72 65 74 75 72 | 6e 69 6e 67 20 61 74 74 |to retur|ning att|
|000022d0| 72 69 62 75 74 65 20 69 | 6e 66 6f 72 6d 61 74 69 |ribute i|nformati|
|000022e0| 6f 6e 20 6f 6e 20 75 73 | 65 72 73 2c 20 74 68 65 |on on us|ers, the|
|000022f0| 20 55 47 47 65 74 55 73 | 65 72 49 6e 66 6f 20 66 | UGGetUs|erInfo f|
|00002300| 75 6e 63 74 69 6f 6e 20 | 63 61 6e 20 62 65 20 75 |unction |can be u|
|00002310| 73 65 64 20 74 6f 20 65 | 6e 75 6d 65 72 61 74 65 |sed to e|numerate|
|00002320| 20 61 6c 6c 20 75 73 65 | 72 73 20 69 6e 20 74 68 | all use|rs in th|
|00002330| 65 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |e users |and grou|
|00002340| 70 73 20 66 69 6c 65 20 | 6f 72 20 61 6c 6c 20 75 |ps file |or all u|
|00002350| 73 65 72 73 20 69 6e 20 | 61 20 67 72 6f 75 70 2c |sers in |a group,|
|00002360| 20 74 6f 20 70 72 6f 76 | 69 64 65 20 61 20 6c 69 | to prov|ide a li|
|00002370| 73 74 20 6f 66 20 61 6c | 6c 20 67 72 6f 75 70 73 |st of al|l groups|
|00002380| 20 6f 66 20 77 68 69 63 | 68 20 61 20 75 73 65 72 | of whic|h a user|
|00002390| 20 69 73 20 61 20 6d 65 | 6d 62 65 72 2c 20 61 6e | is a me|mber, an|
|000023a0| 64 20 74 6f 20 67 65 74 | 20 61 20 75 73 65 72 d5 |d to get| a user.|
|000023b0| 73 20 70 72 69 6d 61 72 | 79 20 67 72 6f 75 70 2e |s primar|y group.|
|000023c0| 0d 54 68 65 20 55 47 44 | 65 6c 65 74 65 55 73 65 |.The UGD|eleteUse|
|000023d0| 72 20 66 75 6e 63 74 69 | 6f 6e 20 63 61 6e 20 62 |r functi|on can b|
|000023e0| 65 20 75 73 65 64 20 74 | 6f 20 64 65 6c 65 74 65 |e used t|o delete|
|000023f0| 20 61 6c 6c 20 75 73 65 | 72 73 20 65 78 63 65 70 | all use|rs excep|
|00002400| 74 20 74 68 65 20 67 75 | 65 73 74 20 75 73 65 72 |t the gu|est user|
|00002410| 20 61 6e 64 20 74 68 65 | 20 61 64 6d 69 6e 69 73 | and the| adminis|
|00002420| 74 72 61 74 6f 72 20 75 | 73 65 72 2e 20 48 6f 77 |trator u|ser. How|
|00002430| 65 76 65 72 2c 20 74 68 | 65 20 67 75 65 73 74 20 |ever, th|e guest |
|00002440| 75 73 65 72 20 61 6e 64 | 20 61 64 6d 69 6e 69 73 |user and| adminis|
|00002450| 74 72 61 74 6f 72 20 75 | 73 65 72 20 63 61 6e 20 |trator u|ser can |
|00002460| 62 65 20 64 69 73 61 62 | 6c 65 64 20 77 69 74 68 |be disab|led with|
|00002470| 20 55 47 53 65 74 55 4c | 49 6e 66 6f 20 61 6e 64 | UGSetUL|Info and|
|00002480| 20 55 47 53 65 74 55 73 | 65 72 49 6e 66 6f 2c 20 | UGSetUs|erInfo, |
|00002490| 72 65 73 70 65 63 74 69 | 76 65 6c 79 2e 0d 54 68 |respecti|vely..Th|
|000024a0| 65 20 55 47 41 75 74 68 | 65 6e 74 69 63 61 74 65 |e UGAuth|enticate|
|000024b0| 55 73 65 72 20 66 75 6e | 63 74 69 6f 6e 20 70 72 |User fun|ction pr|
|000024c0| 6f 76 69 64 65 73 20 61 | 20 77 61 79 20 74 6f 20 |ovides a| way to |
|000024d0| 61 75 74 68 65 6e 74 69 | 63 61 74 65 20 61 20 75 |authenti|cate a u|
|000024e0| 73 65 72 d5 73 20 70 61 | 73 73 77 6f 72 64 2e 20 |ser.s pa|ssword. |
|000024f0| 55 47 4c 69 62 72 61 72 | 79 20 64 6f 65 73 20 6e |UGLibrar|y does n|
|00002500| 6f 74 20 70 72 6f 76 69 | 64 65 20 61 20 77 61 79 |ot provi|de a way|
|00002510| 20 74 6f 20 72 65 61 64 | 20 75 73 65 72 20 70 61 | to read| user pa|
|00002520| 73 73 77 6f 72 64 73 2e | 0d 54 68 65 20 66 6f 6c |sswords.|.The fol|
|00002530| 6c 6f 77 69 6e 67 20 55 | 47 4c 69 62 72 61 72 79 |lowing U|GLibrary|
|00002540| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 72 | functio|ns are r|
|00002550| 65 6c 65 76 61 6e 74 20 | 74 6f 20 75 73 65 72 73 |elevant |to users|
|00002560| 20 61 6e 64 20 61 72 65 | 20 64 65 73 63 72 69 62 | and are| describ|
|00002570| 65 64 20 69 6e 20 64 65 | 74 61 69 6c 20 6c 61 74 |ed in de|tail lat|
|00002580| 65 72 20 69 6e 20 74 68 | 69 73 20 64 6f 63 75 6d |er in th|is docum|
|00002590| 65 6e 74 3a 0d 6e 09 55 | 47 4e 65 77 55 73 65 72 |ent:.n.U|GNewUser|
|000025a0| 0d 6e 09 55 47 44 65 6c | 65 74 65 55 73 65 72 0d |.n.UGDel|eteUser.|
|000025b0| 6e 09 55 47 52 65 6e 61 | 6d 65 55 73 65 72 0d 6e |n.UGRena|meUser.n|
|000025c0| 09 55 47 47 65 74 55 73 | 65 72 49 6e 66 6f 0d 6e |.UGGetUs|erInfo.n|
|000025d0| 09 55 47 53 65 74 55 73 | 65 72 49 6e 66 6f 0d 6e |.UGSetUs|erInfo.n|
|000025e0| 09 55 47 41 75 74 68 65 | 6e 74 69 63 61 74 65 55 |.UGAuthe|nticateU|
|000025f0| 73 65 72 0d 47 72 6f 75 | 70 73 0d 45 61 63 68 20 |ser.Grou|ps.Each |
|00002600| 67 72 6f 75 70 20 68 61 | 73 20 74 77 6f 20 61 74 |group ha|s two at|
|00002610| 74 72 69 62 75 74 65 73 | 2c 20 69 74 73 20 67 72 |tributes|, its gr|
|00002620| 6f 75 70 20 49 44 20 61 | 6e 64 20 69 74 73 20 6e |oup ID a|nd its n|
|00002630| 61 6d 65 2c 20 77 68 69 | 63 68 20 61 72 65 20 61 |ame, whi|ch are a|
|00002640| 73 73 69 67 6e 65 64 20 | 77 68 65 6e 20 74 68 65 |ssigned |when the|
|00002650| 20 67 72 6f 75 70 20 69 | 73 20 63 72 65 61 74 65 | group i|s create|
|00002660| 64 20 77 69 74 68 20 55 | 47 4e 65 77 47 72 6f 75 |d with U|GNewGrou|
|00002670| 70 2e 20 54 68 65 20 67 | 72 6f 75 70 20 49 44 20 |p. The g|roup ID |
|00002680| 63 61 6e 6e 6f 74 20 62 | 65 20 63 68 61 6e 67 65 |cannot b|e change|
|00002690| 64 2e 20 54 68 65 20 67 | 72 6f 75 70 20 6e 61 6d |d. The g|roup nam|
|000026a0| 65 20 63 61 6e 20 62 65 | 20 63 68 61 6e 67 65 64 |e can be| changed|
|000026b0| 20 77 69 74 68 20 55 47 | 52 65 6e 61 6d 65 47 72 | with UG|RenameGr|
|000026c0| 6f 75 70 2e 0d 54 68 65 | 20 55 47 47 65 74 47 72 |oup..The| UGGetGr|
|000026d0| 6f 75 70 49 6e 66 6f 20 | 66 75 6e 63 74 69 6f 6e |oupInfo |function|
|000026e0| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|000026f0| 65 6e 75 6d 65 72 61 74 | 65 20 61 6c 6c 20 67 72 |enumerat|e all gr|
|00002700| 6f 75 70 73 20 69 6e 20 | 74 68 65 20 75 73 65 72 |oups in |the user|
|00002710| 73 20 61 6e 64 20 67 72 | 6f 75 70 73 20 66 69 6c |s and gr|oups fil|
|00002720| 65 2c 20 61 6e 64 20 74 | 6f 20 6d 61 70 20 61 20 |e, and t|o map a |
|00002730| 67 72 6f 75 70 20 6e 61 | 6d 65 20 74 6f 20 61 20 |group na|me to a |
|00002740| 67 72 6f 75 70 20 49 44 | 20 6f 72 20 6d 61 70 20 |group ID| or map |
|00002750| 61 20 67 72 6f 75 70 20 | 49 44 20 74 6f 20 61 20 |a group |ID to a |
|00002760| 67 72 6f 75 70 20 6e 61 | 6d 65 2e 20 47 72 6f 75 |group na|me. Grou|
|00002770| 70 73 20 63 61 6e 20 62 | 65 20 64 65 6c 65 74 65 |ps can b|e delete|
|00002780| 64 20 77 69 74 68 20 74 | 68 65 20 55 47 44 65 6c |d with t|he UGDel|
|00002790| 65 74 65 47 72 6f 75 70 | 20 66 75 6e 63 74 69 6f |eteGroup| functio|
|000027a0| 6e 2c 20 61 6e 64 20 72 | 65 6e 61 6d 65 64 20 77 |n, and r|enamed w|
|000027b0| 69 74 68 20 74 68 65 20 | 55 47 52 65 6e 61 6d 65 |ith the |UGRename|
|000027c0| 47 72 6f 75 70 20 66 75 | 6e 63 74 69 6f 6e 2e 0d |Group fu|nction..|
|000027d0| 59 6f 75 20 75 73 65 20 | 74 68 65 20 55 47 41 73 |You use |the UGAs|
|000027e0| 73 69 67 6e 55 73 65 72 | 54 6f 47 72 6f 75 70 20 |signUser|ToGroup |
|000027f0| 66 75 6e 63 74 69 6f 6e | 20 74 6f 20 6d 61 6b 65 |function| to make|
|00002800| 20 61 20 75 73 65 72 20 | 61 20 6d 65 6d 62 65 72 | a user |a member|
|00002810| 20 6f 66 20 61 20 67 72 | 6f 75 70 2e 20 54 68 65 | of a gr|oup. The|
|00002820| 20 55 47 41 73 73 69 67 | 6e 55 73 65 72 54 6f 47 | UGAssig|nUserToG|
|00002830| 72 6f 75 70 20 66 75 6e | 63 74 69 6f 6e 20 61 6c |roup fun|ction al|
|00002840| 73 6f 20 6c 65 74 73 20 | 79 6f 75 20 61 73 73 69 |so lets |you assi|
|00002850| 67 6e 20 61 20 75 73 65 | 72 d5 73 20 70 72 69 6d |gn a use|r.s prim|
|00002860| 61 72 79 20 67 72 6f 75 | 70 2e 20 28 54 68 65 20 |ary grou|p. (The |
|00002870| 70 72 69 6d 61 72 79 20 | 67 72 6f 75 70 20 69 73 |primary |group is|
|00002880| 20 75 73 65 64 20 62 79 | 20 74 68 65 20 41 70 70 | used by| the App|
|00002890| 6c 65 53 68 61 72 65 20 | 46 69 6c 65 20 53 65 72 |leShare |File Ser|
|000028a0| 76 65 72 20 33 2e 30 20 | 77 68 65 6e 20 41 70 70 |ver 3.0 |when App|
|000028b0| 6c 65 20 49 49 20 6d 6f | 64 65 20 69 73 20 6f 6e |le II mo|de is on|
|000028c0| 2e 20 54 68 65 20 70 72 | 69 6d 61 72 79 20 67 72 |. The pr|imary gr|
|000028d0| 6f 75 70 20 69 73 20 61 | 6c 73 6f 20 74 68 65 20 |oup is a|lso the |
|000028e0| 67 72 6f 75 70 20 61 73 | 73 69 67 6e 65 64 20 61 |group as|signed a|
|000028f0| 63 63 65 73 73 20 70 72 | 69 76 69 6c 65 67 65 73 |ccess pr|ivileges|
|00002900| 20 74 6f 20 61 20 66 6f | 6c 64 65 72 20 77 68 65 | to a fo|lder whe|
|00002910| 6e 20 61 20 66 6f 6c 64 | 65 72 20 69 73 20 63 72 |n a fold|er is cr|
|00002920| 65 61 74 65 64 20 72 65 | 6d 6f 74 65 6c 79 2e 29 |eated re|motely.)|
|00002930| 20 54 68 65 20 55 47 44 | 65 6c 65 74 65 55 73 65 | The UGD|eleteUse|
|00002940| 72 46 72 6f 6d 47 72 6f | 75 70 20 66 75 6e 63 74 |rFromGro|up funct|
|00002950| 69 6f 6e 20 69 73 20 75 | 73 65 64 20 74 6f 20 72 |ion is u|sed to r|
|00002960| 65 6d 6f 76 65 20 61 20 | 75 73 65 72 20 66 72 6f |emove a |user fro|
|00002970| 6d 20 61 20 67 72 6f 75 | 70 2e 0d 4e 6f 74 65 20 |m a grou|p..Note |
|00002980| 20 55 47 4c 69 62 72 61 | 72 79 20 64 6f 65 73 20 | UGLibra|ry does |
|00002990| 6e 6f 74 20 61 6c 6c 6f | 77 20 75 73 65 72 20 6f |not allo|w user o|
|000029a0| 72 20 67 72 6f 75 70 20 | 6e 61 6d 65 73 20 74 6f |r group |names to|
|000029b0| 20 63 6f 6e 74 61 69 6e | 20 74 68 65 20 63 6f 6c | contain| the col|
|000029c0| 6f 6e 20 28 3a 29 20 63 | 68 61 72 61 63 74 65 72 |on (:) c|haracter|
|000029d0| 2e 20 55 73 65 72 20 6f | 72 20 67 72 6f 75 70 20 |. User o|r group |
|000029e0| 6e 61 6d 65 73 20 63 61 | 6e 20 63 6f 6e 74 61 69 |names ca|n contai|
|000029f0| 6e 20 74 68 65 20 73 6c | 61 73 68 20 28 2f 29 20 |n the sl|ash (/) |
|00002a00| 63 68 61 72 61 63 74 65 | 72 2c 20 62 75 74 20 79 |characte|r, but y|
|00002a10| 6f 75 20 73 68 6f 75 6c | 64 20 61 76 6f 69 64 20 |ou shoul|d avoid |
|00002a20| 75 73 69 6e 67 20 73 75 | 63 68 20 6e 61 6d 65 73 |using su|ch names|
|00002a30| 20 62 65 63 61 75 73 65 | 20 74 68 65 79 20 61 72 | because| they ar|
|00002a40| 65 20 6e 6f 74 20 63 6f | 6d 70 61 74 69 62 6c 65 |e not co|mpatible|
|00002a50| 20 77 69 74 68 20 74 68 | 65 20 41 70 70 6c 65 20 | with th|e Apple |
|00002a60| 49 49 20 66 61 6d 69 6c | 79 20 6f 66 20 63 6f 6d |II famil|y of com|
|00002a70| 70 75 74 65 72 73 2e 0d | 54 68 65 20 66 6f 6c 6c |puters..|The foll|
|00002a80| 6f 77 69 6e 67 20 55 47 | 4c 69 62 72 61 72 79 20 |owing UG|Library |
|00002a90| 66 75 6e 63 74 69 6f 6e | 73 20 61 72 65 20 72 65 |function|s are re|
|00002aa0| 6c 65 76 61 6e 74 20 74 | 6f 20 67 72 6f 75 70 73 |levant t|o groups|
|00002ab0| 20 61 6e 64 20 61 72 65 | 20 64 65 73 63 72 69 62 | and are| describ|
|00002ac0| 65 64 20 69 6e 20 64 65 | 74 61 69 6c 20 6c 61 74 |ed in de|tail lat|
|00002ad0| 65 72 20 69 6e 20 74 68 | 69 73 20 64 6f 63 75 6d |er in th|is docum|
|00002ae0| 65 6e 74 3a 0d 6e 09 55 | 47 4e 65 77 47 72 6f 75 |ent:.n.U|GNewGrou|
|00002af0| 70 0d 6e 09 55 47 44 65 | 6c 65 74 65 47 72 6f 75 |p.n.UGDe|leteGrou|
|00002b00| 70 0d 6e 09 55 47 52 65 | 6e 61 6d 65 47 72 6f 75 |p.n.UGRe|nameGrou|
|00002b10| 70 0d 6e 09 55 47 47 65 | 74 47 72 6f 75 70 49 6e |p.n.UGGe|tGroupIn|
|00002b20| 66 6f 0d 6e 09 55 47 41 | 73 73 69 67 6e 55 73 65 |fo.n.UGA|ssignUse|
|00002b30| 72 54 6f 47 72 6f 75 70 | 0d 6e 09 55 47 44 65 6c |rToGroup|.n.UGDel|
|00002b40| 65 74 65 55 73 65 72 46 | 72 6f 6d 47 72 6f 75 70 |eteUserF|romGroup|
|00002b50| 0d 54 68 65 20 66 69 6c | 65 20 73 65 72 76 65 72 |.The fil|e server|
|00002b60| 0d 54 68 65 20 55 47 47 | 65 74 55 4c 49 6e 66 6f |.The UGG|etULInfo|
|00002b70| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 75 73 65 | functio|n is use|
|00002b80| 64 20 74 6f 20 72 65 74 | 72 69 65 76 65 20 73 69 |d to ret|rieve si|
|00002b90| 78 20 66 69 6c 65 20 73 | 65 72 76 65 72 20 61 74 |x file s|erver at|
|00002ba0| 74 72 69 62 75 74 65 73 | 3a 20 74 68 65 20 66 69 |tributes|: the fi|
|00002bb0| 6c 65 20 73 65 72 76 65 | 72 20 6e 61 6d 65 2c 20 |le serve|r name, |
|00002bc0| 74 68 65 20 66 69 6c 65 | 20 73 65 72 76 65 72 20 |the file| server |
|00002bd0| 76 65 72 73 69 6f 6e 2c | 20 74 68 65 20 6d 69 6e |version,| the min|
|00002be0| 69 6d 75 6d 20 70 61 73 | 73 77 6f 72 64 20 6c 65 |imum pas|sword le|
|00002bf0| 6e 67 74 68 2c 20 74 68 | 65 20 6d 61 78 69 6d 75 |ngth, th|e maximu|
|00002c00| 6d 20 6e 75 6d 62 65 72 | 20 6f 66 20 66 61 69 6c |m number| of fail|
|00002c10| 65 64 20 6c 6f 67 69 6e | 20 61 74 74 65 6d 70 74 |ed login| attempt|
|00002c20| 73 2c 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |s, the n|umber of|
|00002c30| 20 64 61 79 73 20 62 65 | 66 6f 72 65 20 75 73 65 | days be|fore use|
|00002c40| 72 20 70 61 73 73 77 6f | 72 64 73 20 65 78 70 69 |r passwo|rds expi|
|00002c50| 72 65 2c 20 61 6e 64 20 | 73 65 72 76 65 72 20 66 |re, and |server f|
|00002c60| 6c 61 67 73 2e 20 54 68 | 65 20 66 69 6c 65 20 73 |lags. Th|e file s|
|00002c70| 65 72 76 65 72 20 6e 61 | 6d 65 20 63 61 6e 6e 6f |erver na|me canno|
|00002c80| 74 20 62 65 20 63 68 61 | 6e 67 65 64 20 62 79 20 |t be cha|nged by |
|00002c90| 6d 65 61 6e 73 20 6f 66 | 20 55 47 4c 69 62 72 61 |means of| UGLibra|
|00002ca0| 72 79 2e 20 54 68 65 20 | 6e 61 6d 65 20 63 6f 6d |ry. The |name com|
|00002cb0| 65 73 20 66 72 6f 6d 20 | 74 68 65 20 27 53 54 52 |es from |the 'STR|
|00002cc0| ca 27 20 72 65 73 6f 75 | 72 63 65 20 49 44 20 d0 |.' resou|rce ID .|
|00002cd0| 31 36 34 31 33 20 28 74 | 68 65 20 63 6f 6d 70 75 |16413 (t|he compu|
|00002ce0| 74 65 72 20 6e 61 6d 65 | 29 2c 20 6c 6f 63 61 74 |ter name|), locat|
|00002cf0| 65 64 20 69 6e 20 74 68 | 65 20 53 79 73 74 65 6d |ed in th|e System|
|00002d00| 20 66 69 6c 65 2c 20 61 | 6e 64 20 69 73 20 69 6e | file, a|nd is in|
|00002d10| 69 74 69 61 6c 69 7a 65 | 64 20 62 79 20 74 68 65 |itialize|d by the|
|00002d20| 20 53 79 73 74 65 6d 20 | 37 20 53 68 61 72 69 6e | System |7 Sharin|
|00002d30| 67 20 53 65 74 75 70 20 | 63 6f 6e 74 72 6f 6c 20 |g Setup |control |
|00002d40| 70 61 6e 65 6c 20 6f 72 | 20 62 79 20 74 68 65 20 |panel or| by the |
|00002d50| 41 70 70 6c 65 53 68 61 | 72 65 20 41 64 6d 69 6e |AppleSha|re Admin|
|00002d60| 20 70 72 6f 67 72 61 6d | 2e 20 54 68 65 20 66 69 | program|. The fi|
|00002d70| 6c 65 20 73 65 72 76 65 | 72 20 76 65 72 73 69 6f |le serve|r versio|
|00002d80| 6e 20 69 73 20 74 68 65 | 20 76 65 72 73 69 6f 6e |n is the| version|
|00002d90| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 65 20 75 | number |of the u|
|00002da0| 73 65 72 73 20 61 6e 64 | 20 67 72 6f 75 70 73 20 |sers and| groups |
|00002db0| 66 69 6c 65 3b 20 61 20 | 76 61 6c 75 65 20 6f 66 |file; a |value of|
|00002dc0| 20 53 79 73 37 53 72 76 | 72 56 65 72 20 28 33 29 | Sys7Srv|rVer (3)|
|00002dd0| 20 69 6e 64 69 63 61 74 | 65 73 20 4d 61 63 69 6e | indicat|es Macin|
|00002de0| 74 6f 73 68 20 46 69 6c | 65 20 53 68 61 72 69 6e |tosh Fil|e Sharin|
|00002df0| 67 20 61 6e 64 20 61 20 | 76 61 6c 75 65 20 6f 66 |g and a |value of|
|00002e00| 20 41 53 33 53 72 76 72 | 56 65 72 20 28 34 29 20 | AS3Srvr|Ver (4) |
|00002e10| 69 6e 64 69 63 61 74 65 | 73 20 74 68 65 20 41 70 |indicate|s the Ap|
|00002e20| 70 6c 65 53 68 61 72 65 | 20 46 69 6c 65 20 53 65 |pleShare| File Se|
|00002e30| 72 76 65 72 20 33 2e 30 | 2e 20 54 68 65 20 6d 69 |rver 3.0|. The mi|
|00002e40| 6e 69 6d 75 6d 20 70 61 | 73 73 77 6f 72 64 20 6c |nimum pa|ssword l|
|00002e50| 65 6e 67 74 68 2c 20 74 | 68 65 20 6d 61 78 69 6d |ength, t|he maxim|
|00002e60| 75 6d 20 6e 75 6d 62 65 | 72 20 6f 66 20 66 61 69 |um numbe|r of fai|
|00002e70| 6c 65 64 20 6c 6f 67 69 | 6e 20 61 74 74 65 6d 70 |led logi|n attemp|
|00002e80| 74 73 2c 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ts, the |number o|
|00002e90| 66 20 64 61 79 73 20 62 | 65 66 6f 72 65 20 75 73 |f days b|efore us|
|00002ea0| 65 72 20 70 61 73 73 77 | 6f 72 64 73 20 65 78 70 |er passw|ords exp|
|00002eb0| 69 72 65 2c 20 74 68 65 | 20 73 65 72 76 65 72 20 |ire, the| server |
|00002ec0| 66 6c 61 67 73 2c 20 61 | 6e 64 20 74 68 65 20 73 |flags, a|nd the s|
|00002ed0| 65 72 76 65 72 20 76 65 | 72 73 69 6f 6e 20 63 61 |erver ve|rsion ca|
|00002ee0| 6e 20 61 6c 6c 20 62 65 | 20 63 68 61 6e 67 65 64 |n all be| changed|
|00002ef0| 20 77 69 74 68 20 74 68 | 65 20 55 47 53 65 74 55 | with th|e UGSetU|
|00002f00| 4c 49 6e 66 6f 20 66 75 | 6e 63 74 69 6f 6e 2e 0d |LInfo fu|nction..|
|00002f10| 4e 6f 74 65 20 20 57 68 | 65 6e 20 79 6f 75 72 20 |Note Wh|en your |
|00002f20| 70 72 6f 67 72 61 6d 20 | 63 72 65 61 74 65 73 20 |program |creates |
|00002f30| 61 20 6e 65 77 20 75 73 | 65 72 73 20 61 6e 64 20 |a new us|ers and |
|00002f40| 67 72 6f 75 70 73 20 66 | 69 6c 65 20 62 79 20 75 |groups f|ile by u|
|00002f50| 73 69 6e 67 20 74 68 65 | 20 55 47 43 72 65 61 74 |sing the| UGCreat|
|00002f60| 65 46 69 6c 65 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |eFile fu|nction, |
|00002f70| 74 68 65 20 66 69 6c 65 | 20 64 6f 65 73 20 6e 6f |the file| does no|
|00002f80| 74 20 63 6f 6e 74 61 69 | 6e 20 61 20 73 65 72 76 |t contai|n a serv|
|00002f90| 65 72 20 6e 61 6d 65 2e | 20 48 6f 77 65 76 65 72 |er name.| However|
|00002fa0| 2c 20 77 68 65 6e 20 74 | 68 69 73 20 66 69 6c 65 |, when t|his file|
|00002fb0| 20 69 73 20 6d 61 64 65 | 20 74 68 65 20 63 75 72 | is made| the cur|
|00002fc0| 72 65 6e 74 20 75 73 65 | 72 73 20 61 6e 64 20 67 |rent use|rs and g|
|00002fd0| 72 6f 75 70 73 20 66 69 | 6c 65 20 28 74 68 61 74 |roups fi|le (that|
|00002fe0| 20 69 73 2c 20 77 68 65 | 6e 20 74 68 65 20 6f 6c | is, whe|n the ol|
|00002ff0| 64 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |d users |and grou|
|00003000| 70 73 20 66 69 6c 65 20 | 69 73 20 64 72 61 67 67 |ps file |is dragg|
|00003010| 65 64 20 6f 75 74 20 6f | 66 20 74 68 65 20 50 72 |ed out o|f the Pr|
|00003020| 65 66 65 72 65 6e 63 65 | 73 20 66 6f 6c 64 65 72 |eference|s folder|
|00003030| 2c 20 74 68 65 20 6e 65 | 77 20 66 69 6c 65 20 69 |, the ne|w file i|
|00003040| 73 20 6d 6f 76 65 64 20 | 69 6e 2c 20 61 6e 64 20 |s moved |in, and |
|00003050| 74 68 65 20 63 6f 6d 70 | 75 74 65 72 20 69 73 20 |the comp|uter is |
|00003060| 72 65 73 74 61 72 74 65 | 64 29 2c 20 74 68 65 20 |restarte|d), the |
|00003070| 4d 61 63 69 6e 74 6f 73 | 68 20 6e 61 6d 65 20 69 |Macintos|h name i|
|00003080| 73 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |s automa|tically |
|00003090| 69 6e 73 65 72 74 65 64 | 20 69 6e 74 6f 20 74 68 |inserted| into th|
|000030a0| 65 20 66 69 6c 65 20 61 | 73 20 74 68 65 20 73 65 |e file a|s the se|
|000030b0| 72 76 65 72 20 6e 61 6d | 65 2e 0d 54 68 65 72 65 |rver nam|e..There|
|000030c0| 20 61 72 65 20 66 69 76 | 65 20 73 65 72 76 65 72 | are fiv|e server|
|000030d0| 20 66 6c 61 67 73 3a 0d | 41 70 70 6c 65 32 09 53 | flags:.|Apple2.S|
|000030e0| 65 74 20 69 66 20 74 68 | 65 20 73 65 72 76 65 72 |et if th|e server|
|000030f0| 20 69 73 20 69 6e 20 41 | 70 70 6c 65 20 49 49 20 | is in A|pple II |
|00003100| 6d 6f 64 65 2e 20 54 68 | 69 73 20 66 6c 61 67 20 |mode. Th|is flag |
|00003110| 69 73 20 75 73 65 64 20 | 66 6f 72 20 74 68 65 20 |is used |for the |
|00003120| 41 70 70 6c 65 53 68 61 | 72 65 20 46 69 6c 65 20 |AppleSha|re File |
|00003130| 53 65 72 76 65 72 20 33 | 2e 30 20 6f 6e 6c 79 3b |Server 3|.0 only;|
|00003140| 20 69 74 20 6d 75 73 74 | 20 62 65 20 63 6c 65 61 | it must| be clea|
|00003150| 72 20 66 6f 72 20 4d 61 | 63 69 6e 74 6f 73 68 20 |r for Ma|cintosh |
|00003160| 46 69 6c 65 20 53 68 61 | 72 69 6e 67 2e 0d 4e 6f |File Sha|ring..No|
|00003170| 47 75 65 73 74 73 09 53 | 65 74 20 69 66 20 67 75 |Guests.S|et if gu|
|00003180| 65 73 74 73 20 63 61 6e | 6e 6f 74 20 6c 6f 67 20 |ests can|not log |
|00003190| 6f 6e 20 74 6f 20 74 68 | 69 73 20 73 65 72 76 65 |on to th|is serve|
|000031a0| 72 2e 0d 49 41 43 47 75 | 65 73 74 45 6e 61 62 6c |r..IACGu|estEnabl|
|000031b0| 65 64 09 53 65 74 20 69 | 66 20 49 41 43 20 69 73 |ed.Set i|f IAC is|
|000031c0| 20 74 75 72 6e 65 64 20 | 6f 6e 20 66 6f 72 20 67 | turned |on for g|
|000031d0| 75 65 73 74 2e 0d 49 41 | 43 47 6c 6f 62 61 6c 45 |uest..IA|CGlobalE|
|000031e0| 6e 61 62 6c 65 64 09 53 | 65 74 20 69 66 20 49 41 |nabled.S|et if IA|
|000031f0| 43 20 69 73 20 74 75 72 | 6e 65 64 20 6f 6e 20 66 |C is tur|ned on f|
|00003200| 6f 72 20 74 68 69 73 20 | 63 6f 6d 70 75 74 65 72 |or this |computer|
|00003210| 2e 0d 44 6f 6e 74 53 61 | 76 65 50 77 64 09 53 65 |..DontSa|vePwd.Se|
|00003220| 74 20 69 66 20 74 68 65 | 20 41 70 70 6c 65 53 68 |t if the| AppleSh|
|00003230| 61 72 65 20 77 6f 72 6b | 73 74 61 74 69 6f 6e 20 |are work|station |
|00003240| 73 68 6f 75 6c 64 20 6e | 6f 74 20 61 6c 6c 6f 77 |should n|ot allow|
|00003250| 20 74 68 65 20 75 73 65 | 72 20 74 6f 20 73 61 76 | the use|r to sav|
|00003260| 65 20 68 69 73 20 6f 72 | 20 68 65 72 20 70 61 73 |e his or| her pas|
|00003270| 73 77 6f 72 64 20 62 79 | 20 6d 65 61 6e 73 20 6f |sword by| means o|
|00003280| 66 20 74 68 65 20 43 68 | 6f 6f 73 65 72 2e 20 54 |f the Ch|ooser. T|
|00003290| 68 69 73 20 66 6c 61 67 | 20 69 73 20 61 76 61 69 |his flag| is avai|
|000032a0| 6c 61 62 6c 65 20 6f 6e | 20 74 68 65 20 41 70 70 |lable on| the App|
|000032b0| 6c 65 53 68 61 72 65 20 | 46 69 6c 65 20 53 65 72 |leShare |File Ser|
|000032c0| 76 65 72 20 33 2e 30 20 | 6f 6e 6c 79 3b 20 69 74 |ver 3.0 |only; it|
|000032d0| 20 6d 75 73 74 20 62 65 | 20 63 6c 65 61 72 20 66 | must be| clear f|
|000032e0| 6f 72 20 4d 61 63 69 6e | 74 6f 73 68 20 46 69 6c |or Macin|tosh Fil|
|000032f0| 65 20 53 68 61 72 69 6e | 67 2e 0d 54 68 65 20 55 |e Sharin|g..The U|
|00003300| 47 53 65 74 55 4c 49 6e | 66 6f 20 66 75 6e 63 74 |GSetULIn|fo funct|
|00003310| 69 6f 6e 20 69 73 20 75 | 73 65 64 20 74 6f 20 73 |ion is u|sed to s|
|00003320| 65 74 20 73 69 78 20 66 | 69 6c 65 20 73 65 72 76 |et six f|ile serv|
|00003330| 65 72 20 61 74 74 72 69 | 62 75 74 65 73 3a 20 74 |er attri|butes: t|
|00003340| 68 65 20 61 64 6d 69 6e | 69 73 74 72 61 74 6f 72 |he admin|istrator|
|00003350| 20 70 61 73 73 77 6f 72 | 64 2c 20 74 68 65 20 6d | passwor|d, the m|
|00003360| 69 6e 69 6d 75 6d 20 70 | 61 73 73 77 6f 72 64 20 |inimum p|assword |
|00003370| 6c 65 6e 67 74 68 2c 20 | 74 68 65 20 6d 61 78 69 |length, |the maxi|
|00003380| 6d 75 6d 20 6e 75 6d 62 | 65 72 20 6f 66 20 66 61 |mum numb|er of fa|
|00003390| 69 6c 65 64 20 6c 6f 67 | 69 6e 20 61 74 74 65 6d |iled log|in attem|
|000033a0| 70 74 73 2c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |pts, the| number |
|000033b0| 6f 66 20 64 61 79 73 20 | 62 65 66 6f 72 65 20 75 |of days |before u|
|000033c0| 73 65 72 20 70 61 73 73 | 77 6f 72 64 73 20 65 78 |ser pass|words ex|
|000033d0| 70 69 72 65 2c 20 74 68 | 65 20 73 65 72 76 65 72 |pire, th|e server|
|000033e0| 20 66 6c 61 67 73 2c 20 | 61 6e 64 20 74 68 65 20 | flags, |and the |
|000033f0| 73 65 72 76 65 72 20 76 | 65 72 73 69 6f 6e 2e 20 |server v|ersion. |
|00003400| 41 6c 6c 20 73 65 72 76 | 65 72 20 66 6c 61 67 73 |All serv|er flags|
|00003410| 20 73 65 74 20 77 69 74 | 68 20 55 47 53 65 74 55 | set wit|h UGSetU|
|00003420| 4c 49 6e 66 6f 20 61 72 | 65 20 65 66 66 65 63 74 |LInfo ar|e effect|
|00003430| 69 76 65 20 61 73 20 73 | 6f 6f 6e 20 61 73 20 74 |ive as s|oon as t|
|00003440| 68 65 20 66 69 6c 65 20 | 73 65 72 76 65 72 20 69 |he file |server i|
|00003450| 73 20 73 74 61 72 74 65 | 64 2c 20 65 78 63 65 70 |s starte|d, excep|
|00003460| 74 20 66 6f 72 20 49 41 | 43 47 6c 6f 62 61 6c 45 |t for IA|CGlobalE|
|00003470| 6e 61 62 6c 65 64 2c 20 | 77 68 69 63 68 20 69 73 |nabled, |which is|
|00003480| 20 65 66 66 65 63 74 69 | 76 65 20 6f 6e 6c 79 20 | effecti|ve only |
|00003490| 61 66 74 65 72 20 74 68 | 65 20 63 6f 6d 70 75 74 |after th|e comput|
|000034a0| 65 72 20 69 73 20 72 65 | 73 74 61 72 74 65 64 2e |er is re|started.|
|000034b0| 0d 4e 6f 74 65 20 20 46 | 6f 72 20 41 70 70 6c 65 |.Note F|or Apple|
|000034c0| 20 49 49 20 75 73 65 72 | 73 2c 20 41 70 70 6c 65 | II user|s, Apple|
|000034d0| 53 68 61 72 65 20 41 64 | 6d 69 6e 20 63 72 65 61 |Share Ad|min crea|
|000034e0| 74 65 73 20 61 20 70 65 | 72 73 6f 6e 61 6c 20 66 |tes a pe|rsonal f|
|000034f0| 6f 6c 64 65 72 20 66 6f | 72 20 65 61 63 68 20 75 |older fo|r each u|
|00003500| 73 65 72 20 69 6e 73 69 | 64 65 20 74 68 65 20 55 |ser insi|de the U|
|00003510| 73 65 72 73 20 66 6f 6c | 64 65 72 2e 20 54 68 75 |sers fol|der. Thu|
|00003520| 73 2c 20 65 76 65 6e 20 | 69 66 20 74 68 65 20 41 |s, even |if the A|
|00003530| 70 70 6c 65 32 20 62 69 | 74 20 69 73 20 73 65 74 |pple2 bi|t is set|
|00003540| 2c 20 74 68 65 20 53 74 | 61 72 74 75 70 20 6d 65 |, the St|artup me|
|00003550| 6e 75 20 28 69 6e 20 41 | 70 70 6c 65 53 68 61 72 |nu (in A|ppleShar|
|00003560| 65 20 41 64 6d 69 6e 29 | 20 6d 75 73 74 20 62 65 |e Admin)| must be|
|00003570| 20 75 73 65 64 20 66 6f | 72 20 61 6c 6c 20 41 70 | used fo|r all Ap|
|00003580| 70 6c 65 20 49 49 20 75 | 73 65 72 73 2e 20 28 46 |ple II u|sers. (F|
|00003590| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|000035a0| 69 6f 6e 20 61 62 6f 75 | 74 20 74 68 65 20 63 6f |ion abou|t the co|
|000035b0| 6e 74 65 6e 74 73 20 6f | 66 20 74 68 65 20 55 73 |ntents o|f the Us|
|000035c0| 65 72 73 20 66 6f 6c 64 | 65 72 2c 20 73 65 65 20 |ers fold|er, see |
|000035d0| 74 68 65 20 41 70 70 6c | 65 53 68 61 72 65 20 50 |the Appl|eShare P|
|000035e0| 72 6f 67 72 61 6d 6d 65 | 72 d5 73 20 47 75 69 64 |rogramme|r.s Guid|
|000035f0| 65 20 66 6f 72 20 74 68 | 65 20 41 70 70 6c 65 20 |e for th|e Apple |
|00003600| 49 49 2e 29 0d 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |II.).The| followi|
|00003610| 6e 67 20 55 47 4c 69 62 | 72 61 72 79 20 66 75 6e |ng UGLib|rary fun|
|00003620| 63 74 69 6f 6e 73 20 61 | 72 65 20 72 65 6c 65 76 |ctions a|re relev|
|00003630| 61 6e 74 20 74 6f 20 66 | 69 6c 65 20 73 65 72 76 |ant to f|ile serv|
|00003640| 65 72 73 20 61 6e 64 20 | 61 72 65 20 64 65 73 63 |ers and |are desc|
|00003650| 72 69 62 65 64 20 69 6e | 20 64 65 74 61 69 6c 20 |ribed in| detail |
|00003660| 6c 61 74 65 72 20 69 6e | 20 74 68 69 73 20 64 6f |later in| this do|
|00003670| 63 75 6d 65 6e 74 3a 0d | 6e 09 55 47 47 65 74 55 |cument:.|n.UGGetU|
|00003680| 4c 49 6e 66 6f 0d 6e 09 | 55 47 53 65 74 55 4c 49 |LInfo.n.|UGSetULI|
|00003690| 6e 66 6f 0d 55 73 69 6e | 67 20 55 47 4c 69 62 72 |nfo.Usin|g UGLibr|
|000036a0| 61 72 79 0d 46 6f 75 72 | 20 66 69 6c 65 73 20 61 |ary.Four| files a|
|000036b0| 72 65 20 70 72 6f 76 69 | 64 65 64 20 74 6f 20 61 |re provi|ded to a|
|000036c0| 6c 6c 6f 77 20 70 72 6f | 67 72 61 6d 73 20 74 6f |llow pro|grams to|
|000036d0| 20 75 73 65 20 74 68 65 | 20 6c 69 62 72 61 72 79 | use the| library|
|000036e0| 20 66 75 6e 63 74 69 6f | 6e 73 3a 0d 6e 09 55 47 | functio|ns:.n.UG|
|000036f0| 4c 69 62 72 61 72 79 2e | 6f 20 63 6f 6e 74 61 69 |Library.|o contai|
|00003700| 6e 73 20 74 68 65 20 6f | 62 6a 65 63 74 20 63 6f |ns the o|bject co|
|00003710| 64 65 20 66 6f 72 20 61 | 6c 6c 20 66 75 6e 63 74 |de for a|ll funct|
|00003720| 69 6f 6e 73 20 61 6e 64 | 20 6d 75 73 74 20 62 65 |ions and| must be|
|00003730| 20 6c 69 6e 6b 65 64 20 | 77 69 74 68 20 70 72 6f | linked |with pro|
|00003740| 67 72 61 6d 73 20 74 68 | 61 74 20 63 61 6c 6c 20 |grams th|at call |
|00003750| 74 68 65 20 6c 69 62 72 | 61 72 79 20 66 75 6e 63 |the libr|ary func|
|00003760| 74 69 6f 6e 73 2e 0d 6e | 09 55 47 4c 69 62 72 61 |tions..n|.UGLibra|
|00003770| 72 79 2e 70 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |ry.p con|tains th|
|00003780| 65 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |e data s|tructure|
|00003790| 73 2c 20 66 75 6e 63 74 | 69 6f 6e 20 64 65 63 6c |s, funct|ion decl|
|000037a0| 61 72 61 74 69 6f 6e 73 | 2c 20 61 6e 64 20 65 72 |arations|, and er|
|000037b0| 72 6f 72 20 63 6f 64 65 | 73 20 72 65 74 75 72 6e |ror code|s return|
|000037c0| 65 64 20 62 79 20 74 68 | 65 20 66 75 6e 63 74 69 |ed by th|e functi|
|000037d0| 6f 6e 73 2e 20 54 68 69 | 73 20 66 69 6c 65 20 6d |ons. Thi|s file m|
|000037e0| 75 73 74 20 62 65 20 69 | 6e 63 6c 75 64 65 64 20 |ust be i|ncluded |
|000037f0| 69 6e 20 50 61 73 63 61 | 6c 20 70 72 6f 67 72 61 |in Pasca|l progra|
|00003800| 6d 73 2e 0d 6e 09 55 47 | 4c 69 62 72 61 72 79 2e |ms..n.UG|Library.|
|00003810| 68 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 64 |h contai|ns the d|
|00003820| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 73 20 61 |ata stru|ctures a|
|00003830| 6e 64 20 66 75 6e 63 74 | 69 6f 6e 20 64 65 63 6c |nd funct|ion decl|
|00003840| 61 72 61 74 69 6f 6e 73 | 20 61 6e 64 20 6d 75 73 |arations| and mus|
|00003850| 74 20 62 65 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |t be inc|luded in|
|00003860| 20 43 20 70 72 6f 67 72 | 61 6d 73 2e 0d 6e 09 55 | C progr|ams..n.U|
|00003870| 47 4c 69 62 45 72 72 6f | 72 73 2e 68 20 63 6f 6e |GLibErro|rs.h con|
|00003880| 74 61 69 6e 73 20 74 68 | 65 20 65 72 72 6f 72 20 |tains th|e error |
|00003890| 63 6f 64 65 73 20 72 65 | 74 75 72 6e 65 64 20 62 |codes re|turned b|
|000038a0| 79 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |y the fu|nctions |
|000038b0| 61 6e 64 20 6d 75 73 74 | 20 62 65 20 69 6e 63 6c |and must| be incl|
|000038c0| 75 64 65 64 20 69 6e 20 | 43 20 70 72 6f 67 72 61 |uded in |C progra|
|000038d0| 6d 73 2e 0d 41 6c 6c 20 | 66 75 6e 63 74 69 6f 6e |ms..All |function|
|000038e0| 73 20 61 72 65 20 70 61 | 73 73 65 64 20 74 77 6f |s are pa|ssed two|
|000038f0| 20 70 61 72 61 6d 65 74 | 65 72 73 3a 20 55 73 65 | paramet|ers: Use|
|00003900| 72 47 72 6f 75 70 50 42 | 50 74 72 2c 20 77 68 69 |rGroupPB|Ptr, whi|
|00003910| 63 68 20 69 73 20 75 73 | 65 64 20 66 6f 72 20 70 |ch is us|ed for p|
|00003920| 61 73 73 69 6e 67 20 61 | 6c 6c 20 74 68 65 20 69 |assing a|ll the i|
|00003930| 6e 70 75 74 20 76 61 6c | 75 65 73 20 66 6f 72 20 |nput val|ues for |
|00003940| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 61 6e 64 |the func|tion and|
|00003950| 20 61 6c 73 6f 20 74 6f | 20 70 61 73 73 20 62 61 | also to| pass ba|
|00003960| 63 6b 20 74 68 65 20 6f | 75 74 70 75 74 20 76 61 |ck the o|utput va|
|00003970| 6c 75 65 73 2c 20 61 6e | 64 20 61 73 79 6e 63 2c |lues, an|d async,|
|00003980| 20 61 20 42 6f 6f 6c 65 | 61 6e 20 76 61 6c 75 65 | a Boole|an value|
|00003990| 20 75 73 65 64 20 74 6f | 20 69 6e 64 69 63 61 74 | used to| indicat|
|000039a0| 65 20 77 68 65 74 68 65 | 72 20 74 68 65 20 66 75 |e whethe|r the fu|
|000039b0| 6e 63 74 69 6f 6e 20 69 | 73 20 63 61 6c 6c 65 64 |nction i|s called|
|000039c0| 20 73 79 6e 63 68 72 6f | 6e 6f 75 73 6c 79 20 6f | synchro|nously o|
|000039d0| 72 20 61 73 79 6e 63 68 | 72 6f 6e 6f 75 73 6c 79 |r asynch|ronously|
|000039e0| 2e 20 41 6c 6c 20 66 75 | 6e 63 74 69 6f 6e 73 20 |. All fu|nctions |
|000039f0| 69 6e 20 76 65 72 73 69 | 6f 6e 20 31 2e 30 20 6f |in versi|on 1.0 o|
|00003a00| 66 20 55 47 4c 69 62 72 | 61 72 79 20 6d 75 73 74 |f UGLibr|ary must|
|00003a10| 20 62 65 20 63 61 6c 6c | 65 64 20 73 79 6e 63 68 | be call|ed synch|
|00003a20| 72 6f 6e 6f 75 73 6c 79 | 2e 20 43 61 6c 6c 69 6e |ronously|. Callin|
|00003a30| 67 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 61 73 79 |g a func|tion asy|
|00003a40| 6e 63 68 72 6f 6e 6f 75 | 73 6c 79 20 77 69 6c 6c |nchronou|sly will|
|00003a50| 20 72 65 73 75 6c 74 20 | 69 6e 20 61 20 75 67 42 | result |in a ugB|
|00003a60| 61 64 50 61 72 61 6d 45 | 72 72 20 65 72 72 6f 72 |adParamE|rr error|
|00003a70| 2e 0d 59 6f 75 20 73 68 | 6f 75 6c 64 20 62 65 20 |..You sh|ould be |
|00003a80| 61 77 61 72 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |aware of| the fol|
|00003a90| 6c 6f 77 69 6e 67 20 72 | 65 73 74 72 69 63 74 69 |lowing r|estricti|
|00003aa0| 6f 6e 73 20 69 6e 20 74 | 68 65 20 75 73 65 20 6f |ons in t|he use o|
|00003ab0| 66 20 55 47 4c 69 62 72 | 61 72 79 20 76 65 72 73 |f UGLibr|ary vers|
|00003ac0| 69 6f 6e 20 31 2e 30 3a | 0d 6e 09 54 68 65 20 55 |ion 1.0:|.n.The U|
|00003ad0| 47 4c 69 62 72 61 72 79 | 20 66 75 6e 63 74 69 6f |GLibrary| functio|
|00003ae0| 6e 73 20 77 6f 72 6b 20 | 6f 6e 6c 79 20 77 69 74 |ns work |only wit|
|00003af0| 68 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |h users |and grou|
|00003b00| 70 73 20 66 69 6c 65 73 | 20 6f 6e 20 6c 6f 63 61 |ps files| on loca|
|00003b10| 6c 20 76 6f 6c 75 6d 65 | 73 2e 0d 6e 09 46 75 6e |l volume|s..n.Fun|
|00003b20| 63 74 69 6f 6e 73 20 6d | 75 73 74 20 62 65 20 63 |ctions m|ust be c|
|00003b30| 61 6c 6c 65 64 20 73 79 | 6e 63 68 72 6f 6e 6f 75 |alled sy|nchronou|
|00003b40| 73 6c 79 2e 0d 6e 09 57 | 68 69 6c 65 20 74 68 65 |sly..n.W|hile the|
|00003b50| 20 66 69 6c 65 20 73 65 | 72 76 65 72 20 6f 72 20 | file se|rver or |
|00003b60| 41 70 70 6c 65 53 68 61 | 72 65 20 41 64 6d 69 6e |AppleSha|re Admin|
|00003b70| 20 70 72 6f 67 72 61 6d | 20 69 73 20 61 63 74 69 | program| is acti|
|00003b80| 76 65 2c 20 79 6f 75 72 | 20 70 72 6f 67 72 61 6d |ve, your| program|
|00003b90| 20 63 61 6e 6e 6f 74 20 | 75 73 65 20 55 47 4c 69 | cannot |use UGLi|
|00003ba0| 62 72 61 72 79 20 66 75 | 6e 63 74 69 6f 6e 73 20 |brary fu|nctions |
|00003bb0| 74 68 61 74 20 77 72 69 | 74 65 20 74 6f 20 74 68 |that wri|te to th|
|00003bc0| 65 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |e users |and grou|
|00003bd0| 70 73 20 66 69 6c 65 20 | 75 73 65 64 20 62 79 20 |ps file |used by |
|00003be0| 74 68 65 20 66 69 6c 65 | 20 73 65 72 76 65 72 20 |the file| server |
|00003bf0| 6f 72 20 74 68 65 20 41 | 70 70 6c 65 53 68 61 72 |or the A|ppleShar|
|00003c00| 65 20 41 64 6d 69 6e 20 | 70 72 6f 67 72 61 6d 2e |e Admin |program.|
|00003c10| 20 46 6f 72 20 79 6f 75 | 72 20 70 72 6f 67 72 61 | For you|r progra|
|00003c20| 6d 20 74 6f 20 77 72 69 | 74 65 20 74 6f 20 61 20 |m to wri|te to a |
|00003c30| 75 73 65 72 73 20 61 6e | 64 20 67 72 6f 75 70 73 |users an|d groups|
|00003c40| 20 66 69 6c 65 2c 20 65 | 69 74 68 65 72 20 74 68 | file, e|ither th|
|00003c50| 65 20 66 69 6c 65 20 73 | 65 72 76 65 72 20 28 6f |e file s|erver (o|
|00003c60| 72 20 41 70 70 6c 65 53 | 68 61 72 65 20 41 64 6d |r AppleS|hare Adm|
|00003c70| 69 6e 29 20 6d 75 73 74 | 20 62 65 20 73 68 75 74 |in) must| be shut|
|00003c80| 20 64 6f 77 6e 2c 20 6f | 72 20 61 20 63 6f 70 79 | down, o|r a copy|
|00003c90| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 20 6d 75 73 | of the |file mus|
|00003ca0| 74 20 62 65 20 6d 61 64 | 65 20 62 65 66 6f 72 65 |t be mad|e before|
|00003cb0| 20 74 68 65 20 66 69 6c | 65 20 73 65 72 76 65 72 | the fil|e server|
|00003cc0| 20 28 6f 72 20 41 70 70 | 6c 65 53 68 61 72 65 20 | (or App|leShare |
|00003cd0| 41 64 6d 69 6e 29 20 69 | 73 20 73 74 61 72 74 65 |Admin) i|s starte|
|00003ce0| 64 2c 20 73 6f 20 74 68 | 61 74 20 79 6f 75 72 20 |d, so th|at your |
|00003cf0| 70 72 6f 67 72 61 6d 20 | 63 61 6e 20 77 6f 72 6b |program |can work|
|00003d00| 20 77 69 74 68 20 74 68 | 65 20 63 6f 70 79 2e 0d | with th|e copy..|
|00003d10| 49 4d 50 4f 52 54 41 4e | 54 20 20 55 73 65 20 6f |IMPORTAN|T Use o|
|00003d20| 66 20 74 68 65 20 55 47 | 4c 69 62 72 61 72 79 20 |f the UG|Library |
|00003d30| 66 75 6e 63 74 69 6f 6e | 73 20 69 6e 20 61 6e 79 |function|s in any|
|00003d40| 20 77 61 79 20 6f 74 68 | 65 72 20 74 68 61 6e 20 | way oth|er than |
|00003d50| 74 68 61 74 20 64 65 73 | 63 72 69 62 65 64 20 69 |that des|cribed i|
|00003d60| 6e 20 74 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |n this d|ocument |
|00003d70| 77 69 6c 6c 20 70 72 6f | 64 75 63 65 20 75 6e 64 |will pro|duce und|
|00003d80| 65 66 69 6e 65 64 20 72 | 65 73 75 6c 74 73 2e 20 |efined r|esults. |
|00003d90| 59 6f 75 20 73 68 6f 75 | 6c 64 20 74 61 6b 65 20 |You shou|ld take |
|00003da0| 65 76 65 72 79 20 70 72 | 65 63 61 75 74 69 6f 6e |every pr|ecaution|
|00003db0| 20 74 6f 20 61 76 6f 69 | 64 20 63 6f 72 72 75 70 | to avoi|d corrup|
|00003dc0| 74 69 6e 67 20 74 68 65 | 20 75 73 65 72 73 20 61 |ting the| users a|
|00003dd0| 6e 64 20 67 72 6f 75 70 | 73 20 66 69 6c 65 2e 20 |nd group|s file. |
|00003de0| 49 74 20 69 73 20 68 69 | 67 68 6c 79 20 72 65 63 |It is hi|ghly rec|
|00003df0| 6f 6d 6d 65 6e 64 65 64 | 20 74 68 61 74 20 79 6f |ommended| that yo|
|00003e00| 75 20 6d 61 6b 65 20 61 | 20 63 6f 70 79 20 6f 66 |u make a| copy of|
|00003e10| 20 74 68 65 20 75 73 65 | 72 73 20 61 6e 64 20 67 | the use|rs and g|
|00003e20| 72 6f 75 70 73 20 66 69 | 6c 65 2c 20 61 6e 64 20 |roups fi|le, and |
|00003e30| 63 61 6c 6c 20 74 68 65 | 20 66 75 6e 63 74 69 6f |call the| functio|
|00003e40| 6e 73 20 6f 6e 6c 79 20 | 6f 6e 20 74 68 65 20 63 |ns only |on the c|
|00003e50| 6f 70 79 2e 0d 4d 61 63 | 69 6e 74 6f 73 68 20 46 |opy..Mac|intosh F|
|00003e60| 69 6c 65 20 53 68 61 72 | 69 6e 67 20 73 75 70 70 |ile Shar|ing supp|
|00003e70| 6f 72 74 73 20 61 20 63 | 6f 6d 62 69 6e 65 64 20 |orts a c|ombined |
|00003e80| 74 6f 74 61 6c 20 6f 66 | 20 31 30 30 20 75 73 65 |total of| 100 use|
|00003e90| 72 73 20 61 6e 64 20 67 | 72 6f 75 70 73 2e 20 53 |rs and g|roups. S|
|00003ea0| 65 76 65 72 61 6c 20 66 | 65 61 74 75 72 65 73 20 |everal f|eatures |
|00003eb0| 73 75 70 70 6f 72 74 65 | 64 20 62 79 20 74 68 65 |supporte|d by the|
|00003ec0| 20 41 70 70 6c 65 53 68 | 61 72 65 20 46 69 6c 65 | AppleSh|are File|
|00003ed0| 20 53 65 72 76 65 72 20 | 33 2e 30 20 61 72 65 20 | Server |3.0 are |
|00003ee0| 6e 6f 74 20 61 76 61 69 | 6c 61 62 6c 65 20 75 6e |not avai|lable un|
|00003ef0| 64 65 72 20 4d 61 63 69 | 6e 74 6f 73 68 20 46 69 |der Maci|ntosh Fi|
|00003f00| 6c 65 20 53 68 61 72 69 | 6e 67 3a 0d 6e 09 6d 69 |le Shari|ng:.n.mi|
|00003f10| 6e 69 6d 75 6d 20 70 61 | 73 73 77 6f 72 64 20 6c |nimum pa|ssword l|
|00003f20| 65 6e 67 74 68 0d 6e 09 | 70 61 73 73 77 6f 72 64 |ength.n.|password|
|00003f30| 20 65 78 70 69 72 61 74 | 69 6f 6e 0d 6e 09 6d 61 | expirat|ion.n.ma|
|00003f40| 78 69 6d 75 6d 20 66 61 | 69 6c 65 64 20 6c 6f 67 |ximum fa|iled log|
|00003f50| 69 6e 20 61 74 74 65 6d | 70 74 73 0d 6e 09 61 64 |in attem|pts.n.ad|
|00003f60| 6d 69 6e 69 73 74 72 61 | 74 6f 72 20 70 61 73 73 |ministra|tor pass|
|00003f70| 77 6f 72 64 0d 6e 09 6d | 75 6c 74 69 70 6c 65 20 |word.n.m|ultiple |
|00003f80| 73 75 70 65 72 75 73 65 | 72 73 0d 6e 09 74 68 65 |superuse|rs.n.the|
|00003f90| 20 47 65 74 4e 65 77 50 | 77 64 20 75 73 65 72 20 | GetNewP|wd user |
|00003fa0| 66 6c 61 67 0d 6e 09 74 | 68 65 20 41 70 70 6c 65 |flag.n.t|he Apple|
|00003fb0| 32 20 73 65 72 76 65 72 | 20 66 6c 61 67 0d 6e 09 |2 server| flag.n.|
|00003fc0| 74 68 65 20 44 6f 6e 74 | 53 61 76 65 50 77 64 20 |the Dont|SavePwd |
|00003fd0| 73 65 72 76 65 72 20 66 | 6c 61 67 0d 6e 09 74 68 |server f|lag.n.th|
|00003fe0| 65 20 70 72 69 6d 61 72 | 79 20 67 72 6f 75 70 20 |e primar|y group |
|00003ff0| 66 6c 61 67 0d 57 68 65 | 6e 20 75 73 69 6e 67 20 |flag.Whe|n using |
|00004000| 55 47 4c 69 62 72 61 72 | 79 20 66 75 6e 63 74 69 |UGLibrar|y functi|
|00004010| 6f 6e 73 20 74 68 61 74 | 20 73 65 74 20 74 68 65 |ons that| set the|
|00004020| 73 65 20 66 65 61 74 75 | 72 65 73 20 77 69 74 68 |se featu|res with|
|00004030| 20 61 20 4d 61 63 69 6e | 74 6f 73 68 20 46 69 6c | a Macin|tosh Fil|
|00004040| 65 20 53 68 61 72 69 6e | 67 20 75 73 65 72 73 20 |e Sharin|g users |
|00004050| 61 6e 64 20 67 72 6f 75 | 70 73 20 66 69 6c 65 2c |and grou|ps file,|
|00004060| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 63 6c 65 61 | you sho|uld clea|
|00004070| 72 20 74 68 65 20 75 6e | 75 73 65 64 20 66 6c 61 |r the un|used fla|
|00004080| 67 73 3b 20 75 73 65 20 | 61 20 76 61 6c 75 65 20 |gs; use |a value |
|00004090| 6f 66 20 30 20 66 6f 72 | 20 6d 69 6e 69 6d 75 6d |of 0 for| minimum|
|000040a0| 20 70 61 73 73 77 6f 72 | 64 20 6c 65 6e 67 74 68 | passwor|d length|
|000040b0| 2c 20 70 61 73 73 77 6f | 72 64 20 65 78 70 69 72 |, passwo|rd expir|
|000040c0| 61 74 69 6f 6e 2c 20 61 | 6e 64 20 6d 61 78 69 6d |ation, a|nd maxim|
|000040d0| 75 6d 20 66 61 69 6c 65 | 64 20 6c 6f 67 69 6e 20 |um faile|d login |
|000040e0| 61 74 74 65 6d 70 74 73 | 3b 20 61 6e 64 20 75 73 |attempts|; and us|
|000040f0| 65 20 61 20 7a 65 72 6f | 2d 6c 65 6e 67 74 68 20 |e a zero|-length |
|00004100| 53 74 72 38 20 66 6f 72 | 20 74 68 65 20 61 64 6d |Str8 for| the adm|
|00004110| 69 6e 69 73 74 72 61 74 | 6f 72 20 70 61 73 73 77 |inistrat|or passw|
|00004120| 6f 72 64 2e 0d 55 47 4c | 69 62 72 61 72 79 20 66 |ord..UGL|ibrary f|
|00004130| 75 6e 63 74 69 6f 6e 73 | 0d 54 68 69 73 20 73 65 |unctions|.This se|
|00004140| 63 74 69 6f 6e 20 64 65 | 73 63 72 69 62 65 73 20 |ction de|scribes |
|00004150| 65 61 63 68 20 6f 66 20 | 74 68 65 20 55 47 4c 69 |each of |the UGLi|
|00004160| 62 72 61 72 79 20 66 75 | 6e 63 74 69 6f 6e 73 20 |brary fu|nctions |
|00004170| 69 6e 20 64 65 74 61 69 | 6c 2e 20 46 6f 72 20 65 |in detai|l. For e|
|00004180| 61 63 68 20 66 75 6e 63 | 74 69 6f 6e 2c 20 74 68 |ach func|tion, th|
|00004190| 65 20 50 61 73 63 61 6c | 20 61 6e 64 20 43 20 64 |e Pascal| and C d|
|000041a0| 65 63 6c 61 72 61 74 69 | 6f 6e 73 20 61 72 65 20 |eclarati|ons are |
|000041b0| 73 68 6f 77 6e 2c 20 74 | 68 65 20 70 61 72 61 6d |shown, t|he param|
|000041c0| 65 74 65 72 20 62 6c 6f | 63 6b 20 66 6f 72 20 74 |eter blo|ck for t|
|000041d0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 64 |he funct|ion is d|
|000041e0| 65 73 63 72 69 62 65 64 | 2c 20 74 68 65 20 66 75 |escribed|, the fu|
|000041f0| 6e 63 74 69 6f 6e 20 69 | 73 20 64 65 73 63 72 69 |nction i|s descri|
|00004200| 62 65 64 2c 20 61 6e 64 | 20 61 6c 6c 20 70 6f 73 |bed, and| all pos|
|00004210| 73 69 62 6c 65 20 66 75 | 6e 63 74 69 6f 6e 20 72 |sible fu|nction r|
|00004220| 65 73 75 6c 74 20 63 6f | 64 65 73 20 61 72 65 20 |esult co|des are |
|00004230| 6c 69 73 74 65 64 2e 20 | 54 68 65 20 73 65 63 74 |listed. |The sect|
|00004240| 69 6f 6e 20 d2 44 61 74 | 61 20 53 74 72 75 63 74 |ion .Dat|a Struct|
|00004250| 75 72 65 73 2c d3 20 6c | 61 74 65 72 20 69 6e 20 |ures,. l|ater in |
|00004260| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 2c 20 64 |this doc|ument, d|
|00004270| 65 66 69 6e 65 73 20 61 | 6c 6c 20 70 61 72 61 6d |efines a|ll param|
|00004280| 65 74 65 72 20 62 6c 6f | 63 6b 73 20 75 73 65 64 |eter blo|cks used|
|00004290| 20 62 79 20 74 68 65 73 | 65 20 66 75 6e 63 74 69 | by thes|e functi|
|000042a0| 6f 6e 73 2e 20 54 68 65 | 20 73 75 62 73 65 71 75 |ons. The| subsequ|
|000042b0| 65 6e 74 20 73 65 63 74 | 69 6f 6e 2c d2 46 75 6e |ent sect|ion,.Fun|
|000042c0| 63 74 69 6f 6e 20 53 75 | 6d 6d 61 72 79 2c d3 20 |ction Su|mmary,. |
|000042d0| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 70 61 |specifie|s the pa|
|000042e0| 72 61 6d 65 74 65 72 20 | 62 6c 6f 63 6b 20 75 73 |rameter |block us|
|000042f0| 65 64 20 62 79 20 65 61 | 63 68 20 66 75 6e 63 74 |ed by ea|ch funct|
|00004300| 69 6f 6e 2e 0d 55 47 4f | 70 65 6e 46 69 6c 65 0d |ion..UGO|penFile.|
|00004310| 46 55 4e 43 54 49 4f 4e | 20 55 47 4f 70 65 6e 46 |FUNCTION| UGOpenF|
|00004320| 69 6c 65 20 28 74 68 65 | 50 42 3a 20 55 73 65 72 |ile (the|PB: User|
|00004330| 47 72 6f 75 70 50 42 50 | 74 72 3b 20 61 73 79 6e |GroupPBP|tr; asyn|
|00004340| 63 3a 20 42 4f 4f 4c 45 | 41 4e 29 3a 20 4f 53 45 |c: BOOLE|AN): OSE|
|00004350| 72 72 3b 0d 70 61 73 63 | 61 6c 20 4f 53 45 72 72 |rr;.pasc|al OSErr|
|00004360| 20 55 47 4f 70 65 6e 46 | 69 6c 65 20 28 55 73 65 | UGOpenF|ile (Use|
|00004370| 72 47 72 6f 75 70 50 42 | 50 74 72 20 74 68 65 50 |rGroupPB|Ptr theP|
|00004380| 42 2c 20 42 6f 6f 6c 65 | 61 6e 20 61 73 79 6e 63 |B, Boole|an async|
|00004390| 29 3b 0d 50 61 72 61 6d | 65 74 65 72 20 42 6c 6f |);.Param|eter Blo|
|000043a0| 63 6b 09 ae 09 31 38 09 | 75 67 4e 61 6d 65 50 74 |ck...18.|ugNamePt|
|000043b0| 72 09 6c 6f 6e 67 09 70 | 6f 69 6e 74 65 72 20 74 |r.long.p|ointer t|
|000043c0| 6f 20 66 69 6c 65 6e 61 | 6d 65 0d ae 09 32 32 09 |o filena|me...22.|
|000043d0| 75 67 56 52 65 66 4e 75 | 6d 09 77 6f 72 64 09 76 |ugVRefNu|m.word.v|
|000043e0| 6f 6c 75 6d 65 20 73 70 | 65 63 69 66 69 63 61 74 |olume sp|ecificat|
|000043f0| 69 6f 6e 0d ac 09 32 34 | 09 75 67 52 65 66 4e 75 |ion...24|.ugRefNu|
|00004400| 6d 09 77 6f 72 64 09 66 | 69 6c 65 20 72 65 66 65 |m.word.f|ile refe|
|00004410| 72 65 6e 63 65 20 6e 75 | 6d 62 65 72 0d ae 09 32 |rence nu|mber...2|
|00004420| 36 09 75 67 44 69 72 49 | 44 09 6c 6f 6e 67 09 70 |6.ugDirI|D.long.p|
|00004430| 61 72 65 6e 74 20 64 69 | 72 65 63 74 6f 72 79 20 |arent di|rectory |
|00004440| 49 44 0d ac 09 33 30 09 | 75 67 41 63 63 65 73 73 |ID...30.|ugAccess|
|00004450| 49 44 09 6c 6f 6e 67 09 | 70 72 6f 67 72 61 6d 20 |ID.long.|program |
|00004460| 61 63 63 65 73 73 20 49 | 44 0d ae 09 34 32 09 75 |access I|D...42.u|
|00004470| 67 41 64 6d 69 6e 4b 65 | 79 09 6c 6f 6e 67 09 70 |gAdminKe|y.long.p|
|00004480| 6f 69 6e 74 65 72 20 74 | 6f 20 61 64 6d 69 6e 69 |ointer t|o admini|
|00004490| 73 74 72 61 74 6f 72 20 | 70 61 73 73 77 6f 72 64 |strator |password|
|000044a0| 0d 55 47 4f 70 65 6e 46 | 69 6c 65 20 6f 70 65 6e |.UGOpenF|ile open|
|000044b0| 73 20 74 68 65 20 75 73 | 65 72 73 20 61 6e 64 20 |s the us|ers and |
|000044c0| 67 72 6f 75 70 73 20 66 | 69 6c 65 20 73 70 65 63 |groups f|ile spec|
|000044d0| 69 66 69 65 64 20 69 6e | 20 75 67 4e 61 6d 65 50 |ified in| ugNameP|
|000044e0| 74 72 20 28 61 20 70 6f | 69 6e 74 65 72 20 74 6f |tr (a po|inter to|
|000044f0| 20 61 20 53 74 72 33 31 | 29 20 77 69 74 68 69 6e | a Str31|) within|
|00004500| 20 74 68 65 20 66 6f 6c | 64 65 72 20 73 70 65 63 | the fol|der spec|
|00004510| 69 66 69 65 64 20 69 6e | 20 75 67 44 69 72 49 44 |ified in| ugDirID|
|00004520| 20 6f 6e 20 74 68 65 20 | 76 6f 6c 75 6d 65 20 73 | on the |volume s|
|00004530| 70 65 63 69 66 69 65 64 | 20 69 6e 20 75 67 56 52 |pecified| in ugVR|
|00004540| 65 66 4e 75 6d 2e 20 49 | 66 20 75 67 4e 61 6d 65 |efNum. I|f ugName|
|00004550| 50 74 72 20 70 6f 69 6e | 74 73 20 74 6f 20 61 20 |Ptr poin|ts to a |
|00004560| 7a 65 72 6f 2d 6c 65 6e | 67 74 68 20 53 74 72 33 |zero-len|gth Str3|
|00004570| 31 2c 20 74 68 65 20 6c | 6f 63 61 6c 69 7a 65 64 |1, the l|ocalized|
|00004580| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 63 75 72 | name of| the cur|
|00004590| 72 65 6e 74 20 75 73 65 | 72 73 20 61 6e 64 20 67 |rent use|rs and g|
|000045a0| 72 6f 75 70 73 20 66 69 | 6c 65 20 69 73 20 75 73 |roups fi|le is us|
|000045b0| 65 64 2e 20 28 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ed. (For| example|
|000045c0| 2c 20 74 68 65 20 6c 6f | 63 61 6c 69 7a 65 64 20 |, the lo|calized |
|000045d0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 63 75 72 72 |name of |the curr|
|000045e0| 65 6e 74 20 75 73 65 72 | 73 20 61 6e 64 20 67 72 |ent user|s and gr|
|000045f0| 6f 75 70 73 20 66 69 6c | 65 20 75 6e 64 65 72 20 |oups fil|e under |
|00004600| 55 2e 53 2e 20 73 79 73 | 74 65 6d 20 73 6f 66 74 |U.S. sys|tem soft|
|00004610| 77 61 72 65 20 76 65 72 | 73 69 6f 6e 20 37 2e 30 |ware ver|sion 7.0|
|00004620| 20 69 73 20 d2 55 73 65 | 72 73 20 26 20 47 72 6f | is .Use|rs & Gro|
|00004630| 75 70 73 20 44 61 74 61 | 20 46 69 6c 65 2e d3 29 |ups Data| File..)|
|00004640| 20 4f 74 68 65 72 77 69 | 73 65 2c 20 74 68 65 20 | Otherwi|se, the |
|00004650| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |name of |the file|
|00004660| 20 74 6f 20 77 68 69 63 | 68 20 75 67 4e 61 6d 65 | to whic|h ugName|
|00004670| 50 74 72 20 70 6f 69 6e | 74 73 20 69 73 20 75 73 |Ptr poin|ts is us|
|00004680| 65 64 2e 20 54 68 65 20 | 61 64 6d 69 6e 69 73 74 |ed. The |administ|
|00004690| 72 61 74 6f 72 20 70 61 | 73 73 77 6f 72 64 20 69 |rator pa|ssword i|
|000046a0| 73 20 70 61 73 73 65 64 | 20 69 6e 20 75 67 41 64 |s passed| in ugAd|
|000046b0| 6d 69 6e 4b 65 79 20 28 | 61 20 70 6f 69 6e 74 65 |minKey (|a pointe|
|000046c0| 72 20 74 6f 20 61 20 53 | 74 72 38 29 3b 20 74 68 |r to a S|tr8); th|
|000046d0| 65 20 66 75 6e 63 74 69 | 6f 6e 20 76 65 72 69 66 |e functi|on verif|
|000046e0| 69 65 73 20 74 68 61 74 | 20 74 68 65 20 70 61 73 |ies that| the pas|
|000046f0| 73 77 6f 72 64 20 69 73 | 20 63 6f 72 72 65 63 74 |sword is| correct|
|00004700| 20 62 65 66 6f 72 65 20 | 72 65 74 75 72 6e 69 6e | before |returnin|
|00004710| 67 20 74 68 65 20 76 61 | 6c 75 65 73 20 6f 66 20 |g the va|lues of |
|00004720| 74 68 65 20 75 67 52 65 | 66 4e 75 6d 20 61 6e 64 |the ugRe|fNum and|
|00004730| 20 75 67 41 63 63 65 73 | 73 49 44 20 66 69 65 6c | ugAcces|sID fiel|
|00004740| 64 73 2e 20 54 68 65 20 | 75 67 52 65 66 4e 75 6d |ds. The |ugRefNum|
|00004750| 20 66 69 65 6c 64 20 69 | 64 65 6e 74 69 66 69 65 | field i|dentifie|
|00004760| 73 20 74 68 65 20 66 69 | 6c 65 20 62 65 69 6e 67 |s the fi|le being|
|00004770| 20 75 73 65 64 2c 20 61 | 6e 64 20 74 68 65 20 75 | used, a|nd the u|
|00004780| 67 41 63 63 65 73 73 49 | 44 20 66 69 65 6c 64 20 |gAccessI|D field |
|00004790| 69 64 65 6e 74 69 66 69 | 65 73 20 74 68 65 20 70 |identifi|es the p|
|000047a0| 72 6f 67 72 61 6d 20 75 | 73 69 6e 67 20 74 68 65 |rogram u|sing the|
|000047b0| 20 66 69 6c 65 2e 20 54 | 68 65 73 65 20 74 77 6f | file. T|hese two|
|000047c0| 20 66 69 65 6c 64 73 20 | 61 72 65 20 75 73 65 64 | fields |are used|
|000047d0| 20 62 79 20 61 6c 6c 20 | 6f 74 68 65 72 20 55 47 | by all |other UG|
|000047e0| 4c 69 62 72 61 72 79 20 | 66 75 6e 63 74 69 6f 6e |Library |function|
|000047f0| 73 20 65 78 63 65 70 74 | 20 55 47 43 6c 6f 73 65 |s except| UGClose|
|00004800| 46 69 6c 65 20 61 6e 64 | 20 55 47 43 72 65 61 74 |File and| UGCreat|
|00004810| 65 46 69 6c 65 2e 20 54 | 68 65 20 76 61 6c 75 65 |eFile. T|he value|
|00004820| 20 6f 66 20 74 68 65 20 | 75 67 41 64 6d 69 6e 4b | of the |ugAdminK|
|00004830| 65 79 20 66 69 65 6c 64 | 20 73 68 6f 75 6c 64 20 |ey field| should |
|00004840| 62 65 20 61 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |be a poi|nter to |
|00004850| 61 20 7a 65 72 6f 2d 6c | 65 6e 67 74 68 20 53 74 |a zero-l|ength St|
|00004860| 72 38 20 69 66 20 74 68 | 65 20 66 69 6c 65 20 69 |r8 if th|e file i|
|00004870| 73 20 75 73 65 64 20 62 | 79 20 4d 61 63 69 6e 74 |s used b|y Macint|
|00004880| 6f 73 68 20 46 69 6c 65 | 20 53 68 61 72 69 6e 67 |osh File| Sharing|
|00004890| 2e 0d 52 65 73 75 6c 74 | 20 43 6f 64 65 73 09 6e |..Result| Codes.n|
|000048a0| 6f 45 72 72 09 30 09 4e | 6f 20 65 72 72 6f 72 2e |oErr.0.N|o error.|
|000048b0| 0d 75 67 55 4c 49 6e 66 | 6f 52 65 63 4e 6f 74 43 |.ugULInf|oRecNotC|
|000048c0| 72 65 61 74 65 64 09 33 | 09 54 68 65 72 65 20 69 |reated.3|.There i|
|000048d0| 73 20 61 20 70 72 6f 62 | 6c 65 6d 20 77 69 74 68 |s a prob|lem with|
|000048e0| 20 74 68 65 20 75 73 65 | 72 73 20 61 6e 64 20 67 | the use|rs and g|
|000048f0| 72 6f 75 70 73 20 66 69 | 6c 65 2e 20 44 65 6c 65 |roups fi|le. Dele|
|00004900| 74 65 20 69 74 20 61 6e | 64 20 72 65 2d 63 72 65 |te it an|d re-cre|
|00004910| 61 74 65 20 69 74 2e 0d | 75 67 42 61 64 50 61 72 |ate it..|ugBadPar|
|00004920| 61 6d 45 72 72 09 31 33 | 09 61 73 79 6e 63 20 69 |amErr.13|.async i|
|00004930| 73 20 54 52 55 45 2c 20 | 74 68 65 20 6c 65 6e 67 |s TRUE, |the leng|
|00004940| 74 68 20 6f 66 20 74 68 | 65 20 66 69 6c 65 6e 61 |th of th|e filena|
|00004950| 6d 65 20 69 73 20 67 72 | 65 61 74 65 72 20 74 68 |me is gr|eater th|
|00004960| 61 6e 20 33 31 2c 20 6f | 72 20 74 68 65 20 6c 65 |an 31, o|r the le|
|00004970| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 61 64 6d 69 |ngth of |the admi|
|00004980| 6e 69 73 74 72 61 74 6f | 72 20 70 61 73 73 77 6f |nistrato|r passwo|
|00004990| 72 64 20 69 73 20 67 72 | 65 61 74 65 72 20 74 68 |rd is gr|eater th|
|000049a0| 61 6e 20 38 2e 0d 75 67 | 4e 6f 74 42 74 72 65 65 |an 8..ug|NotBtree|
|000049b0| 09 31 38 09 55 73 65 72 | 73 20 61 6e 64 20 67 72 |.18.User|s and gr|
|000049c0| 6f 75 70 73 20 66 69 6c | 65 20 69 73 20 6e 6f 74 |oups fil|e is not|
|000049d0| 20 61 20 42 2d 54 72 65 | 65 20 66 69 6c 65 2e 0d | a B-Tre|e file..|
|000049e0| 75 67 49 6e 76 61 6c 69 | 64 50 61 73 73 77 64 09 |ugInvali|dPasswd.|
|000049f0| 32 32 09 75 67 41 64 6d | 69 6e 4b 65 79 20 69 73 |22.ugAdm|inKey is|
|00004a00| 20 6e 6f 74 20 74 68 65 | 20 63 6f 72 72 65 63 74 | not the| correct|
|00004a10| 20 70 61 73 73 77 6f 72 | 64 2e 20 0d 75 67 44 65 | passwor|d. .ugDe|
|00004a20| 66 4e 61 6d 65 45 72 72 | 09 39 38 09 44 65 66 61 |fNameErr|.98.Defa|
|00004a30| 75 6c 74 20 6e 61 6d 65 | 20 6f 66 20 75 73 65 72 |ult name| of user|
|00004a40| 73 20 61 6e 64 20 67 72 | 6f 75 70 73 20 66 69 6c |s and gr|oups fil|
|00004a50| 65 20 63 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 66 |e could |not be f|
|00004a60| 6f 75 6e 64 2e 20 0d 75 | 67 46 61 74 61 6c 45 72 |ound. .u|gFatalEr|
|00004a70| 72 6f 72 09 39 39 09 54 | 68 65 72 65 20 69 73 20 |ror.99.T|here is |
|00004a80| 61 20 70 72 6f 62 6c 65 | 6d 20 77 69 74 68 20 74 |a proble|m with t|
|00004a90| 68 65 20 75 73 65 72 73 | 20 61 6e 64 20 67 72 6f |he users| and gro|
|00004aa0| 75 70 73 20 66 69 6c 65 | 2e 20 44 65 6c 65 74 65 |ups file|. Delete|
|00004ab0| 20 69 74 20 61 6e 64 20 | 72 65 2d 63 72 65 61 74 | it and |re-creat|
|00004ac0| 65 20 69 74 2e 20 0d 55 | 47 43 6c 6f 73 65 46 69 |e it. .U|GCloseFi|
|00004ad0| 6c 65 0d 46 55 4e 43 54 | 49 4f 4e 20 55 47 43 6c |le.FUNCT|ION UGCl|
|00004ae0| 6f 73 65 46 69 6c 65 20 | 28 74 68 65 50 42 3a 20 |oseFile |(thePB: |
|00004af0| 55 73 65 72 47 72 6f 75 | 70 50 42 50 74 72 3b 20 |UserGrou|pPBPtr; |
|00004b00| 61 73 79 6e 63 3a 20 42 | 4f 4f 4c 45 41 4e 29 3a |async: B|OOLEAN):|
|00004b10| 20 4f 53 45 72 72 3b 0d | 70 61 73 63 61 6c 20 4f | OSErr;.|pascal O|
|00004b20| 53 45 72 72 20 55 47 43 | 6c 6f 73 65 46 69 6c 65 |SErr UGC|loseFile|
|00004b30| 20 28 55 73 65 72 47 72 | 6f 75 70 50 42 50 74 72 | (UserGr|oupPBPtr|
|00004b40| 20 74 68 65 50 42 2c 20 | 42 6f 6f 6c 65 61 6e 20 | thePB, |Boolean |
|00004b50| 61 73 79 6e 63 29 3b 0d | 50 61 72 61 6d 65 74 65 |async);.|Paramete|
|00004b60| 72 20 42 6c 6f 63 6b 09 | ae 09 32 34 09 75 67 52 |r Block.|..24.ugR|
|00004b70| 65 66 4e 75 6d 09 77 6f | 72 64 09 66 69 6c 65 20 |efNum.wo|rd.file |
|00004b80| 72 65 66 65 72 65 6e 63 | 65 20 6e 75 6d 62 65 72 |referenc|e number|
|00004b90| 0d 55 47 43 6c 6f 73 65 | 46 69 6c 65 20 63 6c 6f |.UGClose|File clo|
|00004ba0| 73 65 73 20 74 68 65 20 | 6f 70 65 6e 20 75 73 65 |ses the |open use|
|00004bb0| 72 73 20 61 6e 64 20 67 | 72 6f 75 70 73 20 66 69 |rs and g|roups fi|
|00004bc0| 6c 65 20 69 64 65 6e 74 | 69 66 69 65 64 20 62 79 |le ident|ified by|
|00004bd0| 20 75 67 52 65 66 4e 75 | 6d 2e 0d 52 65 73 75 6c | ugRefNu|m..Resul|
|00004be0| 74 20 43 6f 64 65 73 09 | 6e 6f 45 72 72 09 30 09 |t Codes.|noErr.0.|
|00004bf0| 4e 6f 20 65 72 72 6f 72 | 2e 0d 75 67 42 61 64 50 |No error|..ugBadP|
|00004c00| 61 72 61 6d 45 72 72 09 | 31 33 09 61 73 79 6e 63 |aramErr.|13.async|
|00004c10| 20 69 73 20 54 52 55 45 | 2e 0d 75 67 4e 6f 74 42 | is TRUE|..ugNotB|
|00004c20| 74 72 65 65 09 31 38 09 | 55 73 65 72 73 20 61 6e |tree.18.|Users an|
|00004c30| 64 20 67 72 6f 75 70 73 | 20 66 69 6c 65 20 69 73 |d groups| file is|
|00004c40| 20 6e 6f 74 20 61 20 42 | 2d 54 72 65 65 20 66 69 | not a B|-Tree fi|
|00004c50| 6c 65 2e 0d 75 67 46 61 | 74 61 6c 45 72 72 6f 72 |le..ugFa|talError|
|00004c60| 09 39 39 09 54 68 65 72 | 65 20 69 73 20 61 20 70 |.99.Ther|e is a p|
|00004c70| 72 6f 62 6c 65 6d 20 77 | 69 74 68 20 74 68 65 20 |roblem w|ith the |
|00004c80| 75 73 65 72 73 20 61 6e | 64 20 67 72 6f 75 70 73 |users an|d groups|
|00004c90| 20 66 69 6c 65 2e 20 44 | 65 6c 65 74 65 20 69 74 | file. D|elete it|
|00004ca0| 20 61 6e 64 20 72 65 2d | 63 72 65 61 74 65 20 69 | and re-|create i|
|00004cb0| 74 2e 0d 55 47 43 72 65 | 61 74 65 46 69 6c 65 0d |t..UGCre|ateFile.|
|00004cc0| 46 55 4e 43 54 49 4f 4e | 20 55 47 43 72 65 61 74 |FUNCTION| UGCreat|
|00004cd0| 65 46 69 6c 65 20 28 74 | 68 65 50 42 3a 20 55 73 |eFile (t|hePB: Us|
|00004ce0| 65 72 47 72 6f 75 70 50 | 42 50 74 72 3b 20 61 73 |erGroupP|BPtr; as|
|00004cf0| 79 6e 63 3a 20 42 4f 4f | 4c 45 41 4e 29 3a 20 4f |ync: BOO|LEAN): O|
|00004d00| 53 45 72 72 3b 0d 70 61 | 73 63 61 6c 20 4f 53 45 |SErr;.pa|scal OSE|
|00004d10| 72 72 20 55 47 43 72 65 | 61 74 65 46 69 6c 65 20 |rr UGCre|ateFile |
|00004d20| 28 55 73 65 72 47 72 6f | 75 70 50 42 50 74 72 20 |(UserGro|upPBPtr |
|00004d30| 74 68 65 50 42 2c 20 42 | 6f 6f 6c 65 61 6e 20 61 |thePB, B|oolean a|
|00004d40| 73 79 6e 63 29 3b 0d 50 | 61 72 61 6d 65 74 65 72 |sync);.P|arameter|
|00004d50| 20 42 6c 6f 63 6b 09 ae | 09 31 38 09 75 67 4e 61 | Block..|.18.ugNa|
|00004d60| 6d 65 50 74 72 09 6c 6f | 6e 67 09 70 6f 69 6e 74 |mePtr.lo|ng.point|
|00004d70| 65 72 20 74 6f 20 66 69 | 6c 65 6e 61 6d 65 0d ae |er to fi|lename..|
|00004d80| 09 32 32 09 75 67 56 52 | 65 66 4e 75 6d 09 77 6f |.22.ugVR|efNum.wo|
|00004d90| 72 64 09 76 6f 6c 75 6d | 65 20 73 70 65 63 69 66 |rd.volum|e specif|
|00004da0| 69 63 61 74 69 6f 6e 0d | ae 09 32 36 09 75 67 44 |ication.|..26.ugD|
|00004db0| 69 72 49 44 09 6c 6f 6e | 67 09 70 61 72 65 6e 74 |irID.lon|g.parent|
|00004dc0| 20 64 69 72 65 63 74 6f | 72 79 20 49 44 0d 55 47 | directo|ry ID.UG|
|00004dd0| 43 72 65 61 74 65 46 69 | 6c 65 20 63 72 65 61 74 |CreateFi|le creat|
|00004de0| 65 73 20 61 6e 20 65 6d | 70 74 79 20 75 73 65 72 |es an em|pty user|
|00004df0| 73 20 61 6e 64 20 67 72 | 6f 75 70 73 20 66 69 6c |s and gr|oups fil|
|00004e00| 65 20 77 69 74 68 20 74 | 68 65 20 6e 61 6d 65 20 |e with t|he name |
|00004e10| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 75 67 4e |specifie|d by ugN|
|00004e20| 61 6d 65 50 74 72 20 28 | 61 20 70 6f 69 6e 74 65 |amePtr (|a pointe|
|00004e30| 72 20 74 6f 20 61 20 53 | 74 72 33 31 29 20 77 69 |r to a S|tr31) wi|
|00004e40| 74 68 69 6e 20 74 68 65 | 20 66 6f 6c 64 65 72 20 |thin the| folder |
|00004e50| 73 70 65 63 69 66 69 65 | 64 20 69 6e 20 75 67 44 |specifie|d in ugD|
|00004e60| 69 72 49 44 20 6f 6e 20 | 74 68 65 20 76 6f 6c 75 |irID on |the volu|
|00004e70| 6d 65 20 73 70 65 63 69 | 66 69 65 64 20 69 6e 20 |me speci|fied in |
|00004e80| 75 67 56 52 65 66 4e 75 | 6d 2e 20 49 66 20 75 67 |ugVRefNu|m. If ug|
|00004e90| 4e 61 6d 65 50 74 72 20 | 70 6f 69 6e 74 73 20 74 |NamePtr |points t|
|00004ea0| 6f 20 61 20 7a 65 72 6f | 2d 6c 65 6e 67 74 68 20 |o a zero|-length |
|00004eb0| 53 74 72 33 31 2c 20 74 | 68 65 20 6c 6f 63 61 6c |Str31, t|he local|
|00004ec0| 69 7a 65 64 20 6e 61 6d | 65 20 6f 66 20 74 68 65 |ized nam|e of the|
|00004ed0| 20 63 75 72 72 65 6e 74 | 20 75 73 65 72 73 20 61 | current| users a|
|00004ee0| 6e 64 20 67 72 6f 75 70 | 73 20 66 69 6c 65 20 69 |nd group|s file i|
|00004ef0| 73 20 75 73 65 64 2e 20 | 28 46 6f 72 20 65 78 61 |s used. |(For exa|
|00004f00| 6d 70 6c 65 2c 20 74 68 | 65 20 6c 6f 63 61 6c 69 |mple, th|e locali|
|00004f10| 7a 65 64 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |zed name| of the |
|00004f20| 63 75 72 72 65 6e 74 20 | 75 73 65 72 73 20 61 6e |current |users an|
|00004f30| 64 20 67 72 6f 75 70 73 | 20 66 69 6c 65 20 75 6e |d groups| file un|
|00004f40| 64 65 72 20 55 2e 53 2e | 20 73 79 73 74 65 6d 20 |der U.S.| system |
|00004f50| 73 6f 66 74 77 61 72 65 | 20 76 65 72 73 69 6f 6e |software| version|
|00004f60| 20 37 2e 30 20 69 73 20 | d2 55 73 65 72 73 20 26 | 7.0 is |.Users &|
|00004f70| 20 47 72 6f 75 70 73 20 | 44 61 74 61 20 46 69 6c | Groups |Data Fil|
|00004f80| 65 2e d3 29 20 4f 74 68 | 65 72 77 69 73 65 2c 20 |e..) Oth|erwise, |
|00004f90| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00004fa0| 66 69 6c 65 20 74 6f 20 | 77 68 69 63 68 20 75 67 |file to |which ug|
|00004fb0| 4e 61 6d 65 50 74 72 20 | 70 6f 69 6e 74 73 20 69 |NamePtr |points i|
|00004fc0| 73 20 75 73 65 64 2e 0d | 52 65 73 75 6c 74 20 43 |s used..|Result C|
|00004fd0| 6f 64 65 73 09 6e 6f 45 | 72 72 09 30 09 4e 6f 20 |odes.noE|rr.0.No |
|00004fe0| 65 72 72 6f 72 2e 0d 75 | 67 42 61 64 50 61 72 61 |error..u|gBadPara|
|00004ff0| 6d 45 72 72 09 31 33 09 | 61 73 79 6e 63 20 69 73 |mErr.13.|async is|
|00005000| 20 54 52 55 45 20 6f 72 | 20 74 68 65 20 6c 65 6e | TRUE or| the len|
|00005010| 67 74 68 20 6f 66 20 74 | 68 65 20 66 69 6c 65 6e |gth of t|he filen|
|00005020| 61 6d 65 20 69 73 20 67 | 72 65 61 74 65 72 20 74 |ame is g|reater t|
|00005030| 68 61 6e 20 33 31 2e 0d | 75 67 44 73 6b 46 75 6c |han 31..|ugDskFul|
|00005040| 6c 09 32 30 09 4e 6f 20 | 73 70 61 63 65 20 6f 6e |l.20.No |space on|
|00005050| 20 64 69 73 6b 2e 0d 75 | 67 44 65 66 4e 61 6d 65 | disk..u|gDefName|
|00005060| 45 72 72 09 39 38 09 44 | 65 66 61 75 6c 74 20 6e |Err.98.D|efault n|
|00005070| 61 6d 65 20 6f 66 20 75 | 73 65 72 73 20 61 6e 64 |ame of u|sers and|
|00005080| 20 67 72 6f 75 70 73 20 | 66 69 6c 65 20 63 6f 75 | groups |file cou|
|00005090| 6c 64 20 6e 6f 74 20 62 | 65 20 66 6f 75 6e 64 2e |ld not b|e found.|
|000050a0| 20 0d 75 67 46 61 74 61 | 6c 45 72 72 6f 72 09 39 | .ugFata|lError.9|
|000050b0| 39 09 54 68 65 72 65 20 | 69 73 20 61 20 70 72 6f |9.There |is a pro|
|000050c0| 62 6c 65 6d 20 77 69 74 | 68 20 74 68 65 20 75 73 |blem wit|h the us|
|000050d0| 65 72 73 20 61 6e 64 20 | 67 72 6f 75 70 73 20 66 |ers and |groups f|
|000050e0| 69 6c 65 2e 20 44 65 6c | 65 74 65 20 69 74 20 61 |ile. Del|ete it a|
|000050f0| 6e 64 20 72 65 2d 63 72 | 65 61 74 65 20 69 74 2e |nd re-cr|eate it.|
|00005100| 0d 55 47 4e 65 77 55 73 | 65 72 0d 46 55 4e 43 54 |.UGNewUs|er.FUNCT|
|00005110| 49 4f 4e 20 55 47 4e 65 | 77 55 73 65 72 20 28 74 |ION UGNe|wUser (t|
|00005120| 68 65 50 42 3a 20 55 73 | 65 72 47 72 6f 75 70 50 |hePB: Us|erGroupP|
|00005130| 42 50 74 72 3b 20 61 73 | 79 6e 63 3a 20 42 4f 4f |BPtr; as|ync: BOO|
|00005140| 4c 45 41 4e 29 3a 20 4f | 53 45 72 72 3b 0d 70 61 |LEAN): O|SErr;.pa|
|00005150| 73 63 61 6c 20 4f 53 45 | 72 72 20 55 47 4e 65 77 |scal OSE|rr UGNew|
|00005160| 55 73 65 72 20 28 55 73 | 65 72 47 72 6f 75 70 50 |User (Us|erGroupP|
|00005170| 42 50 74 72 20 74 68 65 | 50 42 2c 20 42 6f 6f 6c |BPtr the|PB, Bool|
|00005180| 65 61 6e 20 61 73 79 6e | 63 29 3b 0d 50 61 72 61 |ean asyn|c);.Para|
|00005190| 6d 65 74 65 72 20 42 6c | 6f 63 6b 09 ae 09 31 38 |meter Bl|ock...18|
|000051a0| 09 75 67 4e 61 6d 65 50 | 74 72 09 6c 6f 6e 67 09 |.ugNameP|tr.long.|
|000051b0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 75 73 65 72 20 |pointer |to user |
|000051c0| 6e 61 6d 65 0d ae 09 32 | 34 09 75 67 52 65 66 4e |name...2|4.ugRefN|
|000051d0| 75 6d 09 77 6f 72 64 09 | 66 69 6c 65 20 72 65 66 |um.word.|file ref|
|000051e0| 65 72 65 6e 63 65 20 6e | 75 6d 62 65 72 20 0d ae |erence n|umber ..|
|000051f0| 09 33 30 09 75 67 41 63 | 63 65 73 73 49 44 09 6c |.30.ugAc|cessID.l|
|00005200| 6f 6e 67 09 70 72 6f 67 | 72 61 6d 20 61 63 63 65 |ong.prog|ram acce|
|00005210| 73 73 20 49 44 0d ab 09 | 33 34 09 75 67 55 73 65 |ss ID...|34.ugUse|
|00005220| 72 49 44 09 6c 6f 6e 67 | 09 75 73 65 72 20 49 44 |rID.long|.user ID|
|00005230| 0d ae 09 35 30 09 75 67 | 50 61 73 73 77 6f 72 64 |...50.ug|Password|
|00005240| 09 6c 6f 6e 67 09 70 6f | 69 6e 74 65 72 20 74 6f |.long.po|inter to|
|00005250| 20 75 73 65 72 20 70 61 | 73 73 77 6f 72 64 0d ae | user pa|ssword..|
|00005260| 09 35 34 09 75 67 55 73 | 65 72 46 6c 61 67 73 09 |.54.ugUs|erFlags.|
|00005270| 77 6f 72 64 09 75 73 65 | 72 20 66 6c 61 67 73 0d |word.use|r flags.|
|00005280| 55 47 4e 65 77 55 73 65 | 72 20 63 72 65 61 74 65 |UGNewUse|r create|
|00005290| 73 20 61 20 6e 65 77 20 | 75 73 65 72 2e 20 54 68 |s a new |user. Th|
|000052a0| 65 20 70 6f 69 6e 74 65 | 72 20 75 67 4e 61 6d 65 |e pointe|r ugName|
|000052b0| 50 74 72 20 28 61 20 70 | 6f 69 6e 74 65 72 20 74 |Ptr (a p|ointer t|
|000052c0| 6f 20 61 20 53 74 72 33 | 31 29 20 63 6f 6e 74 61 |o a Str3|1) conta|
|000052d0| 69 6e 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |ins the |name of |
|000052e0| 74 68 65 20 75 73 65 72 | 20 61 6e 64 20 74 68 65 |the user| and the|
|000052f0| 20 70 6f 69 6e 74 65 72 | 20 75 67 50 61 73 73 77 | pointer| ugPassw|
|00005300| 6f 72 64 20 28 61 20 70 | 6f 69 6e 74 65 72 20 74 |ord (a p|ointer t|
|00005310| 6f 20 61 20 53 74 72 38 | 29 20 63 6f 6e 74 61 69 |o a Str8|) contai|
|00005320| 6e 73 20 74 68 65 20 70 | 61 73 73 77 6f 72 64 2e |ns the p|assword.|
|00005330| 20 54 68 65 20 6e 65 77 | 20 75 73 65 72 20 69 73 | The new| user is|
|00005340| 20 63 72 65 61 74 65 64 | 20 77 69 74 68 20 74 68 | created| with th|
|00005350| 65 20 63 68 61 72 61 63 | 74 65 72 69 73 74 69 63 |e charac|teristic|
|00005360| 73 20 70 61 73 73 65 64 | 20 69 6e 20 75 67 55 73 |s passed| in ugUs|
|00005370| 65 72 46 6c 61 67 73 20 | 28 61 20 6c 6f 6e 67 3b |erFlags |(a long;|
|00005380| 20 73 65 65 20 d2 44 61 | 74 61 20 53 74 72 75 63 | see .Da|ta Struc|
|00005390| 74 75 72 65 73 2c d3 20 | 6c 61 74 65 72 20 69 6e |tures,. |later in|
|000053a0| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 2c 20 | this do|cument, |
|000053b0| 66 6f 72 20 64 65 74 61 | 69 6c 73 29 2e 20 54 6f |for deta|ils). To|
|000053c0| 20 63 72 65 61 74 65 20 | 74 68 65 20 61 64 6d 69 | create |the admi|
|000053d0| 6e 69 73 74 72 61 74 6f | 72 20 75 73 65 72 2c 20 |nistrato|r user, |
|000053e0| 73 65 74 20 75 67 55 73 | 65 72 49 44 20 74 6f 20 |set ugUs|erID to |
|000053f0| 31 2e 20 54 6f 20 63 72 | 65 61 74 65 20 61 20 72 |1. To cr|eate a r|
|00005400| 65 67 75 6c 61 72 20 75 | 73 65 72 2c 20 73 65 74 |egular u|ser, set|
|00005410| 20 75 67 55 73 65 72 49 | 44 20 74 6f 20 30 2e 20 | ugUserI|D to 0. |
|00005420| 54 68 65 20 75 73 65 72 | 20 49 44 20 6f 66 20 74 |The user| ID of t|
|00005430| 68 65 20 75 73 65 72 20 | 63 72 65 61 74 65 64 20 |he user |created |
|00005440| 69 73 20 70 61 73 73 65 | 64 20 62 61 63 6b 20 69 |is passe|d back i|
|00005450| 6e 20 75 67 55 73 65 72 | 49 44 2e 0d 52 65 73 75 |n ugUser|ID..Resu|
|00005460| 6c 74 20 43 6f 64 65 73 | 09 6e 6f 45 72 72 09 30 |lt Codes|.noErr.0|
|00005470| 09 4e 6f 20 65 72 72 6f | 72 2e 0d 75 67 55 73 65 |.No erro|r..ugUse|
|00005480| 72 41 6c 72 65 61 64 79 | 45 78 69 73 74 73 09 31 |rAlready|Exists.1|
|00005490| 09 55 73 65 72 20 77 69 | 74 68 20 74 68 65 20 73 |.User wi|th the s|
|000054a0| 61 6d 65 20 6e 61 6d 65 | 20 65 78 69 73 74 73 20 |ame name| exists |
|000054b0| 6f 72 20 61 6e 20 61 74 | 74 65 6d 70 74 20 77 61 |or an at|tempt wa|
|000054c0| 73 20 6d 61 64 65 20 74 | 6f 20 63 72 65 61 74 65 |s made t|o create|
|000054d0| 20 74 68 65 20 61 64 6d | 69 6e 69 73 74 72 61 74 | the adm|inistrat|
|000054e0| 6f 72 20 75 73 65 72 20 | 61 6e 64 20 74 68 65 20 |or user |and the |
|000054f0| 61 64 6d 69 6e 69 73 74 | 72 61 74 6f 72 20 75 73 |administ|rator us|
|00005500| 65 72 20 61 6c 72 65 61 | 64 79 20 65 78 69 73 74 |er alrea|dy exist|
|00005510| 73 2e 0d 75 67 47 72 6f | 75 70 41 6c 72 65 61 64 |s..ugGro|upAlread|
|00005520| 79 45 78 69 73 74 73 09 | 32 09 47 72 6f 75 70 20 |yExists.|2.Group |
|00005530| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 20 6e 61 |with the| same na|
|00005540| 6d 65 20 65 78 69 73 74 | 73 2e 0d 75 67 4e 6f 4d |me exist|s..ugNoM|
|00005550| 6f 72 65 55 47 73 09 34 | 09 54 68 65 20 6d 61 78 |oreUGs.4|.The max|
|00005560| 69 6d 75 6d 20 76 61 6c | 75 65 20 28 24 46 46 46 |imum val|ue ($FFF|
|00005570| 46 46 46 46 46 29 20 68 | 61 73 20 62 65 65 6e 20 |FFFFF) h|as been |
|00005580| 72 65 61 63 68 65 64 2e | 20 0d 75 67 42 61 64 50 |reached.| .ugBadP|
|00005590| 61 72 61 6d 45 72 72 09 | 31 33 09 61 73 79 6e 63 |aramErr.|13.async|
|000055a0| 20 69 73 20 54 52 55 45 | 2c 20 74 68 65 20 6c 65 | is TRUE|, the le|
|000055b0| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 75 73 65 72 |ngth of |the user|
|000055c0| 20 6e 61 6d 65 20 69 73 | 20 6c 65 73 73 20 74 68 | name is| less th|
|000055d0| 61 6e 20 31 20 6f 72 20 | 67 72 65 61 74 65 72 20 |an 1 or |greater |
|000055e0| 74 68 61 6e 20 33 31 2c | 20 74 68 65 20 75 73 65 |than 31,| the use|
|000055f0| 72 20 6e 61 6d 65 20 63 | 6f 6e 74 61 69 6e 73 20 |r name c|ontains |
|00005600| 61 20 63 6f 6c 6f 6e 2c | 20 74 68 65 20 6c 65 6e |a colon,| the len|
|00005610| 67 74 68 20 6f 66 20 74 | 68 65 20 75 73 65 72 20 |gth of t|he user |
|00005620| 70 61 73 73 77 6f 72 64 | 20 69 73 20 67 72 65 61 |password| is grea|
|00005630| 74 65 72 20 74 68 61 6e | 20 38 2c 20 6f 72 20 75 |ter than| 8, or u|
|00005640| 67 55 73 65 72 49 44 20 | 69 73 20 6e 6f 74 20 30 |gUserID |is not 0|
|00005650| 20 6f 72 20 31 2e 0d 75 | 67 53 65 72 76 65 72 52 | or 1..u|gServerR|
|00005660| 75 6e 6e 69 6e 67 09 31 | 36 09 53 65 72 76 65 72 |unning.1|6.Server|
|00005670| 20 69 73 20 72 75 6e 6e | 69 6e 67 2e 0d 75 67 41 | is runn|ing..ugA|
|00005680| 64 6d 69 6e 52 75 6e 6e | 69 6e 67 09 31 37 09 41 |dminRunn|ing.17.A|
|00005690| 64 6d 69 6e 20 69 73 20 | 72 75 6e 6e 69 6e 67 2e |dmin is |running.|
|000056a0| 0d 75 67 4e 6f 74 42 74 | 72 65 65 09 31 38 09 55 |.ugNotBt|ree.18.U|
|000056b0| 73 65 72 73 20 61 6e 64 | 20 67 72 6f 75 70 73 20 |sers and| groups |
|000056c0| 66 69 6c 65 20 69 73 20 | 6e 6f 74 20 61 20 42 2d |file is |not a B-|
|000056d0| 54 72 65 65 20 66 69 6c | 65 2e 0d 75 67 44 73 6b |Tree fil|e..ugDsk|
|000056e0| 46 75 6c 6c 09 32 30 09 | 4e 6f 20 73 70 61 63 65 |Full.20.|No space|
|000056f0| 20 6f 6e 20 64 69 73 6b | 2e 0d 75 67 42 61 64 55 | on disk|..ugBadU|
|00005700| 49 44 09 32 31 09 75 67 | 41 63 63 65 73 73 49 44 |ID.21.ug|AccessID|
|00005710| 20 69 73 20 77 72 6f 6e | 67 2e 20 54 68 65 20 75 | is wron|g. The u|
|00005720| 73 65 72 73 20 61 6e 64 | 20 67 72 6f 75 70 73 20 |sers and| groups |
|00005730| 66 69 6c 65 20 6d 61 79 | 20 6e 6f 74 20 62 65 20 |file may| not be |
|00005740| 6f 70 65 6e 2e 0d 75 67 | 46 61 74 61 6c 45 72 72 |open..ug|FatalErr|
|00005750| 6f 72 09 39 39 09 54 68 | 65 72 65 20 69 73 20 61 |or.99.Th|ere is a|
|00005760| 20 70 72 6f 62 6c 65 6d | 20 77 69 74 68 20 74 68 | problem| with th|
|00005770| 65 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |e users |and grou|
|00005780| 70 73 20 66 69 6c 65 2e | 20 44 65 6c 65 74 65 20 |ps file.| Delete |
|00005790| 69 74 20 61 6e 64 20 72 | 65 2d 63 72 65 61 74 65 |it and r|e-create|
|000057a0| 20 69 74 2e 0d 55 47 44 | 65 6c 65 74 65 55 73 65 | it..UGD|eleteUse|
|000057b0| 72 0d 46 55 4e 43 54 49 | 4f 4e 20 55 47 44 65 6c |r.FUNCTI|ON UGDel|
|000057c0| 65 74 65 55 73 65 72 20 | 28 74 68 65 50 42 3a 20 |eteUser |(thePB: |
|000057d0| 55 73 65 72 47 72 6f 75 | 70 50 42 50 74 72 3b 20 |UserGrou|pPBPtr; |
|000057e0| 61 73 79 6e 63 3a 20 42 | 4f 4f 4c 45 41 4e 29 3a |async: B|OOLEAN):|
|000057f0| 20 4f 53 45 72 72 3b 0d | 70 61 73 63 61 6c 20 4f | OSErr;.|pascal O|
|00005800| 53 45 72 72 20 55 47 44 | 65 6c 65 74 65 55 73 65 |SErr UGD|eleteUse|
|00005810| 72 20 28 55 73 65 72 47 | 72 6f 75 70 50 42 50 74 |r (UserG|roupPBPt|
|00005820| 72 20 74 68 65 50 42 2c | 20 42 6f 6f 6c 65 61 6e |r thePB,| Boolean|
|00005830| 20 61 73 79 6e 63 29 3b | 0d 50 61 72 61 6d 65 74 | async);|.Paramet|
|00005840| 65 72 20 42 6c 6f 63 6b | 09 ae 09 32 34 09 75 67 |er Block|...24.ug|
|00005850| 52 65 66 4e 75 6d 09 77 | 6f 72 64 09 66 69 6c 65 |RefNum.w|ord.file|
|00005860| 20 72 65 66 65 72 65 6e | 63 65 20 6e 75 6d 62 65 | referen|ce numbe|
|00005870| 72 0d ae 09 33 30 09 75 | 67 41 63 63 65 73 73 49 |r...30.u|gAccessI|
|00005880| 44 09 6c 6f 6e 67 09 70 | 72 6f 67 72 61 6d 20 61 |D.long.p|rogram a|
|00005890| 63 63 65 73 73 20 49 44 | 0d ae 09 33 34 09 75 67 |ccess ID|...34.ug|
|000058a0| 55 73 65 72 49 44 09 6c | 6f 6e 67 09 75 73 65 72 |UserID.l|ong.user|
|000058b0| 20 49 44 0d 55 47 44 65 | 6c 65 74 65 55 73 65 72 | ID.UGDe|leteUser|
|000058c0| 20 64 65 6c 65 74 65 73 | 20 74 68 65 20 75 73 65 | deletes| the use|
|000058d0| 72 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 75 |r specif|ied by u|
|000058e0| 67 55 73 65 72 49 44 2e | 20 54 68 65 20 61 64 6d |gUserID.| The adm|
|000058f0| 69 6e 69 73 74 72 61 74 | 6f 72 20 75 73 65 72 20 |inistrat|or user |
|00005900| 28 75 73 65 72 20 49 44 | 20 31 29 20 63 61 6e 6e |(user ID| 1) cann|
|00005910| 6f 74 20 62 65 20 64 65 | 6c 65 74 65 64 2e 0d 52 |ot be de|leted..R|
|00005920| 65 73 75 6c 74 20 43 6f | 64 65 73 09 6e 6f 45 72 |esult Co|des.noEr|
|00005930| 72 09 30 09 4e 6f 20 65 | 72 72 6f 72 2e 0d 75 67 |r.0.No e|rror..ug|
|00005940| 55 73 65 72 4e 6f 74 46 | 6f 75 6e 64 09 35 09 55 |UserNotF|ound.5.U|
|00005950| 73 65 72 20 69 73 20 6e | 6f 74 20 69 6e 20 74 68 |ser is n|ot in th|
|00005960| 65 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |e users |and grou|
|00005970| 70 73 20 66 69 6c 65 2e | 0d 75 67 4e 6f 74 41 55 |ps file.|.ugNotAU|
|00005980| 73 65 72 09 37 09 75 67 | 55 73 65 72 49 44 20 69 |ser.7.ug|UserID i|
|00005990| 73 20 6e 6f 74 20 74 68 | 65 20 49 44 20 6f 66 20 |s not th|e ID of |
|000059a0| 61 20 75 73 65 72 2e 20 | 0d 75 67 42 61 64 50 61 |a user. |.ugBadPa|
|000059b0| 72 61 6d 45 72 72 09 31 | 33 09 61 73 79 6e 63 20 |ramErr.1|3.async |
|000059c0| 69 73 20 54 52 55 45 2e | 0d 75 67 53 65 72 76 65 |is TRUE.|.ugServe|
|000059d0| 72 52 75 6e 6e 69 6e 67 | 09 31 36 09 53 65 72 76 |rRunning|.16.Serv|
|000059e0| 65 72 20 69 73 20 72 75 | 6e 6e 69 6e 67 2e 0d 75 |er is ru|nning..u|
|000059f0| 67 41 64 6d 69 6e 52 75 | 6e 6e 69 6e 67 09 31 37 |gAdminRu|nning.17|
|00005a00| 09 41 64 6d 69 6e 20 69 | 73 20 72 75 6e 6e 69 6e |.Admin i|s runnin|
|00005a10| 67 2e 0d 75 67 4e 6f 74 | 42 74 72 65 65 09 31 38 |g..ugNot|Btree.18|
|00005a20| 09 55 73 65 72 73 20 61 | 6e 64 20 67 72 6f 75 70 |.Users a|nd group|
|00005a30| 73 20 66 69 6c 65 20 69 | 73 20 6e 6f 74 20 61 20 |s file i|s not a |
|00005a40| 42 2d 54 72 65 65 20 66 | 69 6c 65 2e 0d 75 67 42 |B-Tree f|ile..ugB|
|00005a50| 61 64 55 49 44 09 32 31 | 09 75 67 41 63 63 65 73 |adUID.21|.ugAcces|
|00005a60| 73 49 44 20 69 73 20 77 | 72 6f 6e 67 2e 20 54 68 |sID is w|rong. Th|
|00005a70| 65 20 75 73 65 72 73 20 | 61 6e 64 20 67 72 6f 75 |e users |and grou|
|00005a80| 70 73 20 66 69 6c 65 20 | 6d 61 79 20 6e 6f 74 20 |ps file |may not |
|00005a90| 62 65 20 6f 70 65 6e 2e | 0d 75 67 46 61 74 61 6c |be open.|.ugFatal|
|00005aa0| 45 72 72 6f 72 09 39 39 | 09 54 68 65 72 65 20 69 |Error.99|.There i|
|00005ab0| 73 20 61 20 70 72 6f 62 | 6c 65 6d 20 77 69 74 68 |s a prob|lem with|
|00005ac0| 20 74 68 65 20 75 73 65 | 72 73 20 61 6e 64 20 67 | the use|rs and g|
|00005ad0| 72 6f 75 70 73 20 66 69 | 6c 65 2e 20 44 65 6c 65 |roups fi|le. Dele|
|00005ae0| 74 65 20 69 74 20 61 6e | 64 20 72 65 2d 63 72 65 |te it an|d re-cre|
|00005af0| 61 74 65 20 69 74 2e 0d | 55 47 52 65 6e 61 6d 65 |ate it..|UGRename|
|00005b00| 55 73 65 72 0d 46 55 4e | 43 54 49 4f 4e 20 55 47 |User.FUN|CTION UG|
|00005b10| 52 65 6e 61 6d 65 55 73 | 65 72 20 28 74 68 65 50 |RenameUs|er (theP|
|00005b20| 42 3a 20 55 73 65 72 47 | 72 6f 75 70 50 42 50 74 |B: UserG|roupPBPt|
|00005b30| 72 3b 20 61 73 79 6e 63 | 3a 20 42 4f 4f 4c 45 41 |r; async|: BOOLEA|
|00005b40| 4e 29 3a 20 4f 53 45 72 | 72 3b 0d 70 61 73 63 61 |N): OSEr|r;.pasca|
|00005b50| 6c 20 4f 53 45 72 72 20 | 55 47 52 65 6e 61 6d 65 |l OSErr |UGRename|
|00005b60| 55 73 65 72 20 28 55 73 | 65 72 47 72 6f 75 70 50 |User (Us|erGroupP|
|00005b70| 42 50 74 72 20 74 68 65 | 50 42 2c 20 42 6f 6f 6c |BPtr the|PB, Bool|
|00005b80| 65 61 6e 20 61 73 79 6e | 63 29 3b 0d 50 61 72 61 |ean asyn|c);.Para|
|00005b90| 6d 65 74 65 72 20 42 6c | 6f 63 6b 09 ae 09 31 38 |meter Bl|ock...18|
|00005ba0| 09 75 67 4e 61 6d 65 50 | 74 72 09 6c 6f 6e 67 09 |.ugNameP|tr.long.|
|00005bb0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 63 75 72 72 65 |pointer |to curre|
|00005bc0| 6e 74 20 75 73 65 72 20 | 6e 61 6d 65 0d ae 09 32 |nt user |name...2|
|00005bd0| 34 09 75 67 52 65 66 4e | 75 6d 09 77 6f 72 64 09 |4.ugRefN|um.word.|
|00005be0| 66 69 6c 65 20 72 65 66 | 65 72 65 6e 63 65 20 6e |file ref|erence n|
|00005bf0| 75 6d 62 65 72 20 0d ae | 09 33 30 09 75 67 41 63 |umber ..|.30.ugAc|
|00005c00| 63 65 73 73 49 44 09 6c | 6f 6e 67 09 70 72 6f 67 |cessID.l|ong.prog|
|00005c10| 72 61 6d 20 61 63 63 65 | 73 73 20 49 44 0d ae 09 |ram acce|ss ID...|
|00005c20| 33 34 09 75 67 55 73 65 | 72 49 44 09 6c 6f 6e 67 |34.ugUse|rID.long|
|00005c30| 09 75 73 65 72 20 49 44 | 0d ae 09 34 34 09 75 67 |.user ID|...44.ug|
|00005c40| 4d 69 73 63 09 6c 6f 6e | 67 09 70 6f 69 6e 74 65 |Misc.lon|g.pointe|
|00005c50| 72 20 74 6f 20 6e 65 77 | 20 75 73 65 72 20 6e 61 |r to new| user na|
|00005c60| 6d 65 0d 55 47 52 65 6e | 61 6d 65 55 73 65 72 20 |me.UGRen|ameUser |
|00005c70| 63 61 6e 20 62 65 20 75 | 73 65 64 20 74 6f 20 63 |can be u|sed to c|
|00005c80| 68 61 6e 67 65 20 74 68 | 65 20 6e 61 6d 65 20 6f |hange th|e name o|
|00005c90| 66 20 61 6e 79 20 75 73 | 65 72 20 65 78 63 65 70 |f any us|er excep|
|00005ca0| 74 20 74 68 65 20 61 64 | 6d 69 6e 69 73 74 72 61 |t the ad|ministra|
|00005cb0| 74 6f 72 20 75 73 65 72 | 2e 20 54 68 65 20 75 73 |tor user|. The us|
|00005cc0| 65 72 20 63 61 6e 20 62 | 65 20 73 70 65 63 69 66 |er can b|e specif|
|00005cd0| 69 65 64 20 65 69 74 68 | 65 72 20 62 79 20 74 68 |ied eith|er by th|
|00005ce0| 65 20 75 73 65 72 d5 73 | 20 49 44 20 69 6e 20 75 |e user.s| ID in u|
|00005cf0| 67 55 73 65 72 49 44 20 | 6f 72 20 62 79 20 74 68 |gUserID |or by th|
|00005d00| 65 20 6e 61 6d 65 20 69 | 6e 20 75 67 4e 61 6d 65 |e name i|n ugName|
|00005d10| 50 74 72 20 28 61 20 70 | 6f 69 6e 74 65 72 20 74 |Ptr (a p|ointer t|
|00005d20| 6f 20 61 20 53 74 72 33 | 31 29 2e 20 49 66 20 75 |o a Str3|1). If u|
|00005d30| 67 55 73 65 72 49 44 20 | 69 73 20 75 73 65 64 2c |gUserID |is used,|
|00005d40| 20 74 68 65 6e 20 75 67 | 4e 61 6d 65 50 74 72 20 | then ug|NamePtr |
|00005d50| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 70 6f 69 6e |should b|e a poin|
|00005d60| 74 65 72 20 74 6f 20 61 | 20 7a 65 72 6f 2d 6c 65 |ter to a| zero-le|
|00005d70| 6e 67 74 68 20 53 74 72 | 33 31 2e 20 49 66 20 75 |ngth Str|31. If u|
|00005d80| 67 4e 61 6d 65 50 74 72 | 20 69 73 20 75 73 65 64 |gNamePtr| is used|
|00005d90| 2c 20 74 68 65 6e 20 75 | 67 55 73 65 72 49 44 20 |, then u|gUserID |
|00005da0| 73 68 6f 75 6c 64 20 62 | 65 20 30 2e 20 49 66 20 |should b|e 0. If |
|00005db0| 62 6f 74 68 20 66 69 65 | 6c 64 73 20 63 6f 6e 74 |both fie|lds cont|
|00005dc0| 61 69 6e 20 76 61 6c 75 | 65 73 2c 20 74 68 65 6e |ain valu|es, then|
|00005dd0| 20 75 67 55 73 65 72 49 | 44 20 74 61 6b 65 73 20 | ugUserI|D takes |
|00005de0| 70 72 65 63 65 64 65 6e | 63 65 2e 20 54 68 65 20 |preceden|ce. The |
|00005df0| 6e 65 77 20 6e 61 6d 65 | 20 69 73 20 73 70 65 63 |new name| is spec|
|00005e00| 69 66 69 65 64 20 62 79 | 20 75 67 4d 69 73 63 20 |ified by| ugMisc |
|00005e10| 28 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 61 20 |(a point|er to a |
|00005e20| 53 74 72 33 31 29 2e 0d | 52 65 73 75 6c 74 20 43 |Str31)..|Result C|
|00005e30| 6f 64 65 73 09 6e 6f 45 | 72 72 09 30 09 4e 6f 20 |odes.noE|rr.0.No |
|00005e40| 65 72 72 6f 72 2e 0d 75 | 67 55 73 65 72 41 6c 72 |error..u|gUserAlr|
|00005e50| 65 61 64 79 45 78 69 73 | 74 73 09 31 09 55 73 65 |eadyExis|ts.1.Use|
|00005e60| 72 20 77 69 74 68 20 74 | 68 65 20 73 61 6d 65 20 |r with t|he same |
|00005e70| 6e 61 6d 65 20 65 78 69 | 73 74 73 2e 0d 75 67 47 |name exi|sts..ugG|
|00005e80| 72 6f 75 70 41 6c 72 65 | 61 64 79 45 78 69 73 74 |roupAlre|adyExist|
|00005e90| 73 09 32 09 47 72 6f 75 | 70 20 77 69 74 68 20 74 |s.2.Grou|p with t|
|00005ea0| 68 65 20 73 61 6d 65 20 | 6e 61 6d 65 20 65 78 69 |he same |name exi|
|00005eb0| 73 74 73 2e 0d 75 67 55 | 73 65 72 4e 6f 74 46 6f |sts..ugU|serNotFo|
|00005ec0| 75 6e 64 09 35 09 54 68 | 65 20 75 73 65 72 20 69 |und.5.Th|e user i|
|00005ed0| 73 20 6e 6f 74 20 69 6e | 20 74 68 65 20 75 73 65 |s not in| the use|
|00005ee0| 72 73 20 61 6e 64 20 67 | 72 6f 75 70 73 20 66 69 |rs and g|roups fi|
|00005ef0| 6c 65 2e 0d 75 67 4e 6f | 74 41 55 73 65 72 09 37 |le..ugNo|tAUser.7|
|00005f00| 09 75 67 55 73 65 72 49 | 44 20 69 73 20 6e 6f 74 |.ugUserI|D is not|
|00005f10| 20 74 68 65 20 49 44 20 | 6f 66 20 61 20 75 73 65 | the ID |of a use|
|00005f20| 72 2e 0d 75 67 42 61 64 | 50 61 72 61 6d 45 72 72 |r..ugBad|ParamErr|
|00005f30| 09 31 33 09 61 73 79 6e | 63 20 69 73 20 54 52 55 |.13.asyn|c is TRU|
|00005f40| 45 2c 20 74 68 65 20 6c | 65 6e 67 74 68 20 6f 66 |E, the l|ength of|
|00005f50| 20 74 68 65 20 6f 6c 64 | 20 75 73 65 72 20 6e 61 | the old| user na|
|00005f60| 6d 65 20 69 73 20 67 72 | 65 61 74 65 72 20 74 68 |me is gr|eater th|
|00005f70| 61 6e 20 33 31 2c 20 74 | 68 65 20 6c 65 6e 67 74 |an 31, t|he lengt|
|00005f80| 68 20 6f 66 20 74 68 65 | 20 6e 65 77 20 75 73 65 |h of the| new use|
|00005f90| 72 20 6e 61 6d 65 20 69 | 73 20 6c 65 73 73 20 74 |r name i|s less t|
|00005fa0| 68 61 6e 20 31 20 6f 72 | 20 67 72 65 61 74 65 72 |han 1 or| greater|
|00005fb0| 20 74 68 61 6e 20 33 31 | 2c 20 74 68 65 20 6e 65 | than 31|, the ne|
|00005fc0| 77 20 75 73 65 72 20 6e | 61 6d 65 20 63 6f 6e 74 |w user n|ame cont|
|00005fd0| 61 69 6e 73 20 61 20 63 | 6f 6c 6f 6e 2c 20 6f 72 |ains a c|olon, or|
|00005fe0| 20 74 68 65 20 6f 6c 64 | 20 75 73 65 72 20 6e 61 | the old| user na|
|00005ff0| 6d 65 20 69 73 20 74 68 | 65 20 6f 77 6e 65 72 d5 |me is th|e owner.|
|00006000| 73 20 6e 61 6d 65 2e 0d | 75 67 53 65 72 76 65 72 |s name..|ugServer|
|00006010| 52 75 6e 6e 69 6e 67 09 | 31 36 09 53 65 72 76 65 |Running.|16.Serve|
|00006020| 72 20 69 73 20 72 75 6e | 6e 69 6e 67 2e 0d 75 67 |r is run|ning..ug|
|00006030| 41 64 6d 69 6e 52 75 6e | 6e 69 6e 67 09 31 37 09 |AdminRun|ning.17.|
|00006040| 41 64 6d 69 6e 20 69 73 | 20 72 75 6e 6e 69 6e 67 |Admin is| running|
|00006050| 2e 0d 75 67 4e 6f 74 42 | 74 72 65 65 09 31 38 09 |..ugNotB|tree.18.|
|00006060| 55 73 65 72 73 20 61 6e | 64 20 67 72 6f 75 70 73 |Users an|d groups|
|00006070| 20 66 69 6c 65 20 69 73 | 20 6e 6f 74 20 61 20 42 | file is| not a B|
|00006080| 2d 54 72 65 65 20 66 69 | 6c 65 2e 0d 75 67 42 61 |-Tree fi|le..ugBa|
|00006090| 64 55 49 44 09 32 31 09 | 54 68 65 20 49 44 20 69 |dUID.21.|The ID i|
|000060a0| 6e 20 75 67 41 63 63 65 | 73 73 49 44 20 69 73 20 |n ugAcce|ssID is |
|000060b0| 77 72 6f 6e 67 2e 20 54 | 68 65 20 75 73 65 72 73 |wrong. T|he users|
|000060c0| 20 61 6e 64 20 67 72 6f | 75 70 73 20 66 69 6c 65 | and gro|ups file|
|000060d0| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 6f 70 65 6e | may not| be open|
|000060e0| 2e 0d 75 67 46 61 74 61 | 6c 45 72 72 6f 72 09 39 |..ugFata|lError.9|
|000060f0| 39 09 54 68 65 72 65 20 | 69 73 20 61 20 70 72 6f |9.There |is a pro|
|00006100| 62 6c 65 6d 20 77 69 74 | 68 20 74 68 65 20 75 73 |blem wit|h the us|
|00006110| 65 72 73 20 61 6e 64 20 | 67 72 6f 75 70 73 20 66 |ers and |groups f|
|00006120| 69 6c 65 2e 20 44 65 6c | 65 74 65 20 69 74 20 61 |ile. Del|ete it a|
|00006130| 6e 64 20 72 65 2d 63 72 | 65 61 74 65 20 69 74 2e |nd re-cr|eate it.|
|00006140| 0d 55 47 47 65 74 55 73 | 65 72 49 6e 66 6f 0d 46 |.UGGetUs|erInfo.F|
|00006150| 55 4e 43 54 49 4f 4e 20 | 55 47 47 65 74 55 73 65 |UNCTION |UGGetUse|
|00006160| 72 49 6e 66 6f 20 28 74 | 68 65 50 42 3a 20 55 73 |rInfo (t|hePB: Us|
|00006170| 65 72 47 72 6f 75 70 50 | 42 50 74 72 3b 20 61 73 |erGroupP|BPtr; as|
|00006180| 79 6e 63 3a 20 42 4f 4f | 4c 45 41 4e 29 3a 20 4f |ync: BOO|LEAN): O|
|00006190| 53 45 72 72 3b 0d 70 61 | 73 63 61 6c 20 4f 53 45 |SErr;.pa|scal OSE|
|000061a0| 72 72 20 55 47 47 65 74 | 55 73 65 72 49 6e 66 6f |rr UGGet|UserInfo|
|000061b0| 20 28 55 73 65 72 47 72 | 6f 75 70 50 42 50 74 72 | (UserGr|oupPBPtr|
|000061c0| 20 74 68 65 50 42 2c 20 | 42 6f 6f 6c 65 61 6e 20 | thePB, |Boolean |
|000061d0| 61 73 79 6e 63 29 3b 0d | 50 61 72 61 6d 65 74 65 |async);.|Paramete|
|000061e0| 72 20 42 6c 6f 63 6b 09 | ab 09 31 38 09 75 67 4e |r Block.|..18.ugN|
|000061f0| 61 6d 65 50 74 72 09 6c | 6f 6e 67 09 70 6f 69 6e |amePtr.l|ong.poin|
|00006200| 74 65 72 20 74 6f 20 75 | 73 65 72 20 6e 61 6d 65 |ter to u|ser name|
|00006210| 0d ae 09 32 34 09 75 67 | 52 65 66 4e 75 6d 09 77 |...24.ug|RefNum.w|
|00006220| 6f 72 64 09 66 69 6c 65 | 20 72 65 66 65 72 65 6e |ord.file| referen|
|00006230| 63 65 20 6e 75 6d 62 65 | 72 20 0d ae 09 33 30 09 |ce numbe|r ...30.|
|00006240| 75 67 41 63 63 65 73 73 | 49 44 09 6c 6f 6e 67 09 |ugAccess|ID.long.|
|00006250| 70 72 6f 67 72 61 6d 20 | 61 63 63 65 73 73 20 49 |program |access I|
|00006260| 44 0d ab 09 33 34 09 75 | 67 55 73 65 72 49 44 09 |D...34.u|gUserID.|
|00006270| 6c 6f 6e 67 09 75 73 65 | 72 20 49 44 0d ae 09 33 |long.use|r ID...3|
|00006280| 38 09 75 67 47 72 6f 75 | 70 49 44 09 6c 6f 6e 67 |8.ugGrou|pID.long|
|00006290| 09 67 72 6f 75 70 20 49 | 44 20 6f 72 20 30 20 66 |.group I|D or 0 f|
|000062a0| 6f 72 20 61 6c 6c 0d ae | 09 34 32 09 75 67 50 6f |or all..|.42.ugPo|
|000062b0| 73 4f 66 66 73 65 74 09 | 77 6f 72 64 09 70 6f 73 |sOffset.|word.pos|
|000062c0| 69 74 69 6f 6e 20 6f 66 | 66 73 65 74 0d ac 09 35 |ition of|fset...5|
|000062d0| 34 09 75 67 55 73 65 72 | 46 6c 61 67 73 09 6c 6f |4.ugUser|Flags.lo|
|000062e0| 6e 67 09 75 73 65 72 20 | 66 6c 61 67 73 0d ac 09 |ng.user |flags...|
|000062f0| 35 38 09 75 67 4e 75 6d | 42 61 64 4c 6f 67 69 6e |58.ugNum|BadLogin|
|00006300| 73 09 77 6f 72 64 09 6e | 75 6d 62 65 72 20 6f 66 |s.word.n|umber of|
|00006310| 20 66 61 69 6c 65 64 20 | 6c 6f 67 69 6e 20 61 74 | failed |login at|
|00006320| 74 65 6d 70 74 73 0d ac | 09 36 30 09 75 67 50 77 |tempts..|.60.ugPw|
|00006330| 64 44 61 74 65 09 6c 6f | 6e 67 09 64 61 74 65 20 |dDate.lo|ng.date |
|00006340| 6f 66 20 6c 61 73 74 20 | 70 61 73 73 77 6f 72 64 |of last |password|
|00006350| 20 63 68 61 6e 67 65 0d | ac 09 36 34 09 75 67 4e | change.|..64.ugN|
|00006360| 75 6d 47 72 6f 75 70 73 | 09 77 6f 72 64 09 6e 75 |umGroups|.word.nu|
|00006370| 6d 62 65 72 20 6f 66 20 | 67 72 6f 75 70 73 0d ac |mber of |groups..|
|00006380| 09 36 36 09 75 67 47 72 | 6f 75 70 73 09 31 36 38 |.66.ugGr|oups.168|
|00006390| 20 62 79 74 65 73 09 61 | 72 72 61 79 20 6f 66 20 | bytes.a|rray of |
|000063a0| 67 72 6f 75 70 20 49 44 | 73 20 28 34 32 20 6c 6f |group ID|s (42 lo|
|000063b0| 6e 67 73 29 0d 55 47 47 | 65 74 55 73 65 72 49 6e |ngs).UGG|etUserIn|
|000063c0| 66 6f 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |fo can b|e used t|
|000063d0| 6f 20 70 72 6f 76 69 64 | 65 20 69 6e 66 6f 72 6d |o provid|e inform|
|000063e0| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 61 20 73 70 |ation ab|out a sp|
|000063f0| 65 63 69 66 69 63 20 75 | 73 65 72 2c 20 65 6e 75 |ecific u|ser, enu|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.